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

Popular posts from this blog

Crypto Exec Warns Tokenization Is Moving Faster Than Expected

Bitcoin Mining Could Be Strengthening The Ruble, Russian Central Bank Says

Nigerian SEC Partners With Police To Tackle Crypto Ponzi Schemes – Details