Post
Topic
Unable to find the correct transaction hash
by
jaruvido
on 20/11/2018, 10:42:58 UTC

In the first (coinbase) transaction is 237 bytes.

010000000001010000000000000000000000000000000000000000000000000000000000000000f fffffff4503b5c207fabe6d6de2bf72f174e206a0b32192a50518322f7c58fd1cc2c2f5ebc60a5c a93e7a12450100000000000000626508006c639309c00100bb91182f736c7573682f00000000028 180fb50000000001976a9147c154ed1dc59609e3d26abb2df2ea3d587cd8c4188ac000000000000 0000266a24aa21a9ed470198ecd62086bfb66b96ccf86004de9e00899b00de495fff200cbb17ba5 5c00120000000000000000000000000000000000000000000000000000000000000000000000000

I take sha256 twice from them and get value = 1435ca9c4fd25c012aaff0ed9a608383b5a65ff736ca718a3aec24a55b8d86c1

But in https://www.blockchain.com/en/btc/tx/bb41771ef3f799cff5d97c25846e5a2dffffe1ca7538176fda3b5a7dbede5b2e

i see other value = bb41771ef3f799cff5d97c25846e5a2dffffe1ca7538176fda3b5a7dbede5b2e


At the same time, for all other transactions of this block, hashes are calculated correctly.

What could be the error in my calculation of the hash of this first transaction?