Calculate a transaction version 2 ID

Been writing a bitcoin library from scratch, which eventually involves calculating transaction IDs.

Version 1 transactions work fine when their hex data is being SHA256'd twice and then reversed.

Version 2 transactions ids don't seem to work that way, according to data I found on block explorers. The IDs I generate never match.

Why?



from Recent Questions - Bitcoin Stack Exchange https://ift.tt/FJe27U5
via IFTTT

Comments

Popular posts from this blog

Do Kwon’s Detention Prolonged Until 2024 As Montenegro Responds To Extradition Requests

Sam Bankman-Fried Trial Begins Tomorrow: 3 Reasons Ex-SEC Official Foresees Conviction

Ethereum Price Plummets 9% As Fed Chair Passes Hawkish Remarks