Quantcast
Channel: Active questions tagged merkle-tree - Bitcoin Stack Exchange
Viewing all articles
Browse latest Browse all 94

What is TXID?Is it used to calculate merkleroot [duplicate]

$
0
0

I downloaded the block template where each transaction contains 'data', 'txid', 'hash'. I read in some articles that the Merkelroot is calculated using 'txid'. Is true? Why txid not hash, and what's the difference between them? Before today I always used hash to compute merkleroot and getting the error message "bad-txnmerkleroot". If should use txid, how do I figure out the txid for coinbase that I built?


Viewing all articles
Browse latest Browse all 94


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>