Questions tagged [transaction-verification]

Refers to the process of checking the validity of transactions.

Filter by
Sorted by
Tagged with
2
votes
1answer
192 views

Double spend a tx output already spent but unconfirmed because of low fee

In the protocol rules for validating transactions it says: Rule 9: For each input, if the referenced output exists in any other tx in the pool, reject this transaction.[5] I assume that when a ...
0
votes
0answers
71 views

Bitcoin Merkle/Hash Tree implementation in Java

I'm learning about how full nodes can send a Merkle root + a list of hashes, so that a light client can verify a transaction. I couldn't find any good resources on how to implement it. I just knew ...
1
vote
0answers
25 views

Transaction not received? [duplicate]

Can someone help me? i did my first transaction From ID : 3FxvvRt1wpTHzN8xYVBXMsrGB6aTSrndBQ To ID: 3LSGTkzC62tgTALSGHF7Ztw1dPF5Vyg38B The adresses are right, not fault to find? Thanks
2
votes
1answer
49 views

What does “Green address verification” mean in the context of transaction validation?

I am only new to Bitcoin and I would like to know what a "Green address verification" is. I have an Electrum wallet ver 3.3.6 and I think the term is being used in the context of faster transactions ...
0
votes
1answer
64 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 ...
2
votes
1answer
631 views

Does every miner verify blocks that are already in the Blockchain [duplicate]

Once a miner adds a block to the chain, does every other miner have to check that block to make sure that its transactions don't violate any rules? For instance, if a miner added a block with an ...
2
votes
2answers
193 views

Incentive for validating block

When miners find a solution to a block and broadcast it, what is the incentive for the other miners to actually validate that it is correct? It seems that they might save time by just starting to work ...
0
votes
1answer
42 views

Bitcoin wallet key pair change and transaction validation

For anonymity reasons key pair of a wallet can change. Then how does miner validate if a sender has enough bitcoins? After key pair change blockchain history contains only old public key as a wallet ...
0
votes
2answers
206 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 // ...
1
vote
1answer
80 views

What does verifying a fake transaction mean?

Dear China: please ban bitcoin mining. Four large Chinese mining pools control almost 60% of bitcoin supply and could in theory collude to verify a fake transaction: Goldman https://twitter.com/...
5
votes
1answer
165 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 ...
1
vote
1answer
149 views

Following SegWit implementation, is BIP-146 signalling and implementation still on the docket?

Is BIP 146, which defines using the low S value, still on the docket to be signalled and implemented given that SegWit fixed the txid malleability issue by moving the witness outside the transaction? ...
2
votes
2answers
74 views

Can anyone initiate a Blockchain transaction into the mining pool?

Let's say user A has public key P and corresponding private key P'. Can someone else initiate a transaction for public key P with some wrong private key, let's say P''? Once this goes to the memory ...
1
vote
1answer
26 views

Error validating a transaction with blockcypher

I've created a testnet transaction using blockcypher API (https://api.blockcypher.com/v1/btc/test3/txs/new) and then signed the transaction using the signer (go lang). And then sent signed transaction ...
0
votes
1answer
65 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 ...
3
votes
1answer
74 views

Inner working of OP_IF and OP_ELSE

How does OP_ELSE work exactly? Is there an else if in Script? According to https://en.bitcoin.it/wiki/Script#Flow_control, the statements after an OP_ELSE are executed in three cases. It says: If ...
1
vote
2answers
96 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 ...
3
votes
1answer
58 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 ...
5
votes
0answers
214 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 ...
0
votes
1answer
42 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 ...
7
votes
1answer
554 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 ...
1
vote
0answers
71 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
1answer
53 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
3answers
333 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
73 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
3answers
74 views

Bitcoin Transaction Protocol Question (maybe specific to Coursera Bitcoin Lecture)

In the Coursera course "Bitcoin and Cryptocurrency Technologies" course, a coin called ScroogeCoin was introduced. This coin is similar to bitcoin in that each transaction consists of a set of ...
0
votes
1answer
389 views

How do you get Sibling Hashed Values in a Merkle Proof?

Merkle Proofs are one of the main reasons that people attribute Bitcoin's use of Merkle Trees. But I'm struggling to understand how these work in practice. Please explain theoretically as well as ...
1
vote
2answers
436 views

Is verification of a blockchain computationally cheaper than recreating it?

One of the advantages of cryptocurrencies like Bitcoin that is often repeated is how hard it should be to manipulate past transactions. The reason that is often stated is that you would have to re-...
1
vote
1answer
163 views

Why will a miner verify the digital signature, instead of directly adding a transaction to the Merkle tree?

I am a complete noob to Bitcoin, and this question might seem obvious to some. But I can't seem to get my head around it. I read how the process of mining works - they select transactions, verify them,...
3
votes
2answers
71 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
38 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
276 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
24 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
39 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
43 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 ...
2
votes
3answers
530 views

Why do nodes trust other nodes to approve their transactions?

I know that the blockchain technology works so well, because everybody has basically a copy of the last ledger. Therefore, if a transaction happens, everybody inside the network has to "approve&...
3
votes
1answer
196 views

How to tell if a transaction is valid?

So I have been reading up on bitcoin and blockchain for awhile now, but I have yet to fully understand it. I understand that bitcoin leverage on DLT, which uses cryptography to verify transaction. ...
2
votes
2answers
288 views

Which kinds of transactions show quadratic signature-hashing scaling?

It has been stated: A major problem with simple approaches to increasing the Bitcoin blocksize is that for certain transactions, signature-hashing scales quadratically rather than linearly. https:/...
0
votes
1answer
60 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 ...
1
vote
1answer
923 views

Input validation in transactions

I'm just writing a small essay about the basics of BTC and I ran into a small problem. I know, that there are digital signatures in our bitcoins' earlier transactions (our transaction inputs) and in ...
0
votes
1answer
59 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
408 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 ...
1
vote
3answers
189 views

Ironically, encryption is not an important part of bitcoin (?)

The above statement is taken out of a book which I've been reading: Mastering Bitcoin 2nd Edition. ...as its communications and transaction data are not encrypted and do not need to be encrypted ...
1
vote
1answer
235 views

API for getting the Hash-of-thing-to-sign

Does anyone have, or have access to a simple API that can calculate the hashofthingtosign for old transactions along the blockchain? I'm just looking for something simple to see what the "...
0
votes
1answer
96 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
0answers
132 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
53 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? ...
11
votes
1answer
3k views

What are the advantages of Schnorr vs ECDSA?

I understand that Schnorr signatures provide an improvement on ECDSA in that they are a fixed 64 bytes instead of the longer ECDSA sig format, however, I don't see how this is an advantage over ECDSA ...
1
vote
1answer
107 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
2 3 4 5 6