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