New answers tagged

0

hashOutputs = sha256²(20120a0000000000a91417b9a9afddaae527d25788bce2202563d4ab0d058784ea1100000000000020701a8d401c84fb13e6baf169d59684e17abd9fa216c8cc5b9fc63d622ff8c58d) This value is incorrect. The following values are correct. hashOutputs = sha256²(...


2

OP_CHECKSIG needs to have the whole transaction to hash and to verify the tx. Btcdeb has the feature of allowing the tx as an argument however the website you linked doesn't hence this opcode is doomed to fail every time on this website. It is reasonable to expect supplying the signature to verify the script/tx because otherwise to steal his coins, I would ...


1

Undo a transaction to a wrong adress Bitcoin transactions cannot be undone. I made a transaction to a wrong adress. That is usually hard to do because standard addresses have checksums. If you sent it to a genuine address given to you by someone other than the intended recipient, you'll need to contact the person who gave you that address and see if they ...


7

As of January 2021, "high-level" script validation with all active consensus rules on the network is approximately this: Top level evaluation Execute the scriptSig, and call the resulting stack stack. If execution aborts, fail. Execute the scriptPubKey with stack as input, and call the resulting stack result. If execution aborts, fail. If result ...


4

The UTXO set cache is not a fixed size and the limit isn't a hard limit. New entries can be added to the cache without regards for the maximum cache size. In fact, the cache object itself doesn't even know what the limit is. Rather what happens is that the cache is flushed periodically. Because the UTXO set only changes during block validation (mempool UTXO ...


0

why is there a need to track transactions? Why cant we just track the balance in every account? Well, for a start, the Bitcoin protocol has no concept of accounts or balances. To change Bitcoin to work on the basis of balances would throw up some interesting problems how does a node calculate the balance in the first place? how do we relate transactions to ...


Top 50 recent answers are included