Questions tagged [transaction-verification]

Refers to the process of checking the validity of transactions.

Filter by
Sorted by
Tagged with
3
votes
1answer
41 views

Function combinerawtransaction is not working

I have multiple partially signed transactions that I want to combine into one transaction. All those transactions were signed using the same key so it should be possible to combine all those partial ...
0
votes
1answer
28 views

How are the unlocking script + locking script executed?

I just wanted to verify the input of transaction 7de75. The related output is index 10 of transaction 00f64. The locking script defined in 76a91 (index 10) is: OP_DUP OP_HASH160 ...
1
vote
1answer
50 views

Why does the value range of outputs need to be restricted?

In the 'tx messages' section for protocol rules we have Each output value, as well as the total, must be in legal money range For each input, if the referenced output does not exist (e.g. never ...
1
vote
0answers
57 views

Generating zero-amount transactions in regtest mode?

I'm setting up a larger test network of regtest nodes in which all of them should be easily capable of creating blocks and sending transactions. To this end, I'm looking for a simple way for the nodes ...
1
vote
3answers
327 views

How does the blockchain resolve arbitration issues?

I understand that a bitcoin wallet is nothing but a transaction record performed on the block chain. How are transaction details updated in the decentralised block chain? In a centralised system a ...
0
votes
0answers
29 views

Final Balance -Balance showing different then Coinspot BTC wallet

Bit of a beginner question I have been using crypto wallets for a few months and have basically learned through trial and error. The question is my BTC wallet on Coinspot has a $0 and 0.0 BTC balance. ...
1
vote
1answer
33 views

What exactly does the “For each input, if the referenced output exists in any other tx in the pool, reject this transaction.” tx validation rule mean?

I am currently following the "tx" messages section of en.bitcoin.it/wiki website, and I need some clarity about the following rule regarding the validity of a transaction: For each input, ...
3
votes
2answers
216 views

How are transactions verified with only the Bitcoin address, not the public key?

I understand how asymmetric cryptosystems and digital signatures work: You generate a (private key, public key) pair. You never share the private key, you make the public key ... well, public. You ...
0
votes
0answers
23 views

Why has there not been any confirmation for an entire hour? What do you recommend that I do to speed them up for myself and others? [duplicate]

I made a transaction an entire hour ago. Still in the damn "memory pool". I've had extremely varied experiences over the years with transaction speed, but I'm really starting to feel as if ...
0
votes
0answers
36 views

How do Bitcoin transaction signatures actually work? [duplicate]

So I recently got interested in Bitcoin, and have been trying to learn more. I was reading the Satoshi whitepaper on Bitcoin and came across a diagram of transactions (I can't post pictures yet so I ...
1
vote
1answer
33 views

How does a miner verify a transaction which is spending an output of another transaction in the same block?

It is mentioned in this post that: If all validation of all transactions in a block succeeds, the consumed inputs are removed from the database, and all outputs of those transactions added as fresh ...
1
vote
0answers
32 views

How do i debug a bitcoin transaction

My main problem is understanding how to convert the response from bitcoin-cli "decoderawtransaction" to the script format i am supposed to put in the debugginng tool. i.e my problem is ...
0
votes
1answer
47 views

Verifying a P2WSH by hand

To test my understanding of the signing and verifying process i tried to verify some random Bitcoin transactions by hand. Sadly i got stuck with a P2WSH transaction, i choose the following transaction ...
0
votes
1answer
45 views

Can't Make Sense of Why OP_CHECKSIG Fails Here

I'm try to get to grips with verifying the signature of a P2PKH transaction. I have an example transaction: 9ec4bc49e828d924af1d1029cacf709431abbde46d59554b62bc270e3b29c4b1 I am trying to verify the ...
8
votes
1answer
396 views

Full list of “special cases” during Bitcoin Script execution (p2sh, p2wsh, etc.)?

When executing a Bitcoin Script, there are some "special cases" where the interpreter performs extra verification beyond just executing scriptSig and then scriptPubKey. For example, if the ...
5
votes
1answer
138 views

When the UTXO in the cache is full, what strategy is used to replace one UTXO with another in the cache?

The UTXO set is stored on the disk, but some UTXOs are also stored in the cache. When validating a transaction, you need to query the UTXO pointed to by the input of the transaction. First, you go to ...
0
votes
1answer
52 views

why is transaction history from genesis to date necessary to store on the blockchain to prevent double spending?

I am beginning to understand the mechanism of bitcoin blockchain, and I was wondering something. The transactions history represents the 'state' of the bitcoin at any point (or EVM according to the ...
0
votes
1answer
56 views

How can be proven that a signature is valid with it's public key

If someone wants to make a transaction, they need to sign the transaction data with their private key. For example Sign(transactionData, privateKey) creates the signature. What is exactly this Sign ...
0
votes
0answers
95 views

Signing Transaction Failed

Tried to make a transfer from Bitcoin QT from version 0.9.3 and an error appears "Signing Transaction Failed" but wallet was not fully synced with network yet, im still waiting. Core wallet ...
0
votes
1answer
49 views

Will the Bitcoin network discredit a transaction if you do a simple transfer on a multi-sig after you found the collision on that address?

Let's say you found a collision for an address on the Bitcoin network. You have its private key. Will you be able to transfer any money around or will the network prevent it or does it get verified? ...
1
vote
1answer
70 views

how does bitcoin solve the same chain replay attack?

Let's say I send 10BTC to Bob. I have 30 BTC. So after transferring, I should have 20. Now, after I transfered 10, transaction can be copied and broadcasted to the network again by Bob(he might have ...
1
vote
1answer
74 views

Do full nodes store the complete merkle tree or do they regenerate it when creating a merkle proof?

I understand what the merkle root is for. And I understand that blocks don't store the merkle tree. Question 1) Is there any place that the complete merkle trees get stored? I don't mean the merkle ...
1
vote
1answer
60 views

Is this Merkle hash root problem existent in Bitcoin?

In the Wikipedia article about Merkle trees, I was just reading this, unable to understand where the problem lies: Second preimage attack The Merkle hash root does not indicate the tree depth, ...
1
vote
2answers
192 views

What's the blocksize limit after segwit and how do legacy nodes deal with segwit transactions?

Normally, I heard that the bitcoin blocksize is 1MB, but with the Segwit update the blocksize can be up to 4MB, so we should say that the blocksize is 4MB, right? Moreover legacy nodes only receive ...
1
vote
2answers
43 views

Time allowed to a node to react to verify a transaction and number of verifications?

Do the person acting as full nodes have to be active and online around for a particular decided time, like a job where you have to be around your machine because a transaction for verification can pop ...
1
vote
1answer
79 views

How do SPV clients acquire transactions from other nodes and verify that they are part of the blockchain?

I explored SPV clients as a subject from a lot of different resources, but there are a few of things that are keeping me confused: I found out that SPV clients have no mempool even though SPV clients ...
0
votes
0answers
15 views

How are transations validated? [duplicate]

As per my understanding whenever someone sends a bitcoin it gets added to the transaction pool. The miner then take these transactions from the pool and add it to the block. However, I wanted ...
1
vote
1answer
134 views

How to verify if a transaction is signed correctly?

Given an arbitrary signed raw transaction, how can we easily verify if all inputs are correctly signed (assuming all inputs are existent/unspent and the fee is higher than zero)? Bitcoin core's RPC ...
2
votes
3answers
138 views

Basic question about transaction verification

I am fairly new to crypto and had some questions about how transactions are verified by the nodes Would it be correct to say that the full nodes check to see if the sender(Alice’s) signature is valid. ...
3
votes
2answers
60 views

Can an unsynchronized node create a valid transaction?

I'm trying to understand how bitcoin transactions work. From what I understand, in the Bitcoin network nodes hold different versions of the Blockchain and after some time the different chains start ...
1
vote
1answer
74 views

What can I do with “unspent” transactions? Can I transmit them to a chain?

I withdrew some bitcoin from a service's account I maintain. The transaction shows up in my wallet, but it has been marked as "unspent" ever since. What does this mean?
0
votes
2answers
58 views

Why is 'script' used in a transaction instead of the output address?

I see transactions contain script for each output, but this "script" seems to be deterministically derived from the address associated with the output. Why does the bitcoin protocol opt for the use ...
0
votes
0answers
51 views

Unspent bitcoin transaction

So about two weeks ago i sent bitcoin to a friend, and it was confirmed but in the summary it was listed unspent, he claimed not to have received. I was really confused since then, now this morning i ...
7
votes
1answer
516 views

Why is there no such thing as a redirected, forged, or fake transaction?

In the past, we had numerous questions about "fake" or "forged" transactions. Such transactions could supposedly be created even without holding any bitcoins, yet would end up in the mempool or even ...
2
votes
4answers
185 views

If two parties submit a conflicting transaction between each other, how does the network decide which one is correct?

Let's say parties A and B both submit a transaction to the blockchain with a different version of what happened. Party A submits a transaction saying Party B gave him 3 BTC and Party B submits a ...
5
votes
1answer
164 views

How many bitcoin transactions can be verified per second on commodity hardware in 2020?

I am trying to figure out how many Bitcoin transactions could be verified per second. Am I correct that signature verification is more expensive than computing Merkletrees and hashes and therefore ...
1
vote
1answer
42 views
0
votes
1answer
51 views

Given a Bitcoin transaction as JSON data, how can I determine the number of confirmations?

According to blockchain.info, 4,198 confirmations have been received on the following Bitcoin transaction at the time of this writing. Give then following Bitcoin transaction as JSON (ref: transaction ...
0
votes
1answer
105 views

Is it possible to skip verification of blockchain data when using bitcoin core?

Because I need bitcoin core client only for JSON-RPC requests. Will I need pruned initialization or normal initialization of bitcoin core client for successfully running such requests? (I guess client ...
1
vote
2answers
77 views

How do people using thin clients know the correct merkle path of transactions they've sent without knowing the full block?

User A send a transaction to user B. Those transactions are bundled together into a merkle tree. User A and B can both use the transaction plus the merkle root, plus the merkle path to prove the ...
2
votes
0answers
51 views

Transaction validation cost

what relation is between transaction size or a number of input and validation cost? for example, It's o(n) or o(n^2)?
0
votes
0answers
131 views

Bitcoins stuck in memory pool [duplicate]

I sent my 0.1 bitcoin on the 8th of January from an offline wallet (Bitcoin Core), to an online wallet. Still haven't got the btc in my new wallet. The status on the offline wallet says: "unconfirmed, ...
1
vote
2answers
118 views

How do nodes validate that a UTXO in a new transaction is unspent?

Does it check every block in between where the UTXO first appeared and the current time to make sure it didn't get spent then? Or is there some other caching or other method to make the check faster?
0
votes
1answer
57 views

How can a reciever verify that transaction data was not altered by 3rd party?

My scenario: My web server: - Generates private and public, and a wallet address from the public key for a user website account - Server can not connect to the outside (Can not connect to the Bitcoin ...
4
votes
1answer
61 views

At what block height may locktimed transactions get included?

Transactions with outputs whose sequence is smaller than UINT_MAX are interpreted as locked until the timestamp or block height specified in nLockTime is reached. Specifically regarding the block ...
1
vote
3answers
956 views

Get transaction data from full node

Background Information I am building an application that requires the ability to query any bitcoin full node (from a python script using raw tcp sockets) in order to read the OP_Return value listed ...
2
votes
1answer
75 views

Can attackers change transactions during a 51% attack?

If in a 51% attack transactions can be reversed, isn't it possible that the chain with more hash rate also changes transactions (for example if x sent 5 btc to y, they would change it to x sent 500 ...
0
votes
1answer
151 views

How to verify locking and unlocking scripts?

I've selected an arbitrary transaction id and retrieved its associated transaction details using the blockcypher explorer as follows: from blockcypher import get_transaction_details ...
0
votes
2answers
183 views

Verify Bitcoin Transaction

Following the great post [Redeeming a raw transaction step by step example required, I came up with code below but the verification failed. // pubkeyBytes, len: 65 // ...
0
votes
2answers
78 views

Sent BTC from Coinbase, blockchain explorer says Confirmed. Is recipient lying or could something else be the issue?

Sent BTC (approx $500) from Coinbase, Blockchain explorer says Confirmed. Is recipient lying they have not received or could something else be the issue such as his wallet? Recipient says it could be ...

1
2 3 4 5