bitcoin core – Merkle tree hash – Computing hash manually doesnt match the one computed by SHA256D64

on

|

views

and

comments


I’m attempting to undergo the code to examine the merkle tree hash computation finished by BlockMerkleRoot in bitcoin core. The hash computed utilizing on-line instruments by appending transaction hashes is completely different from those computed by SHA256D64 of BlockMerkleRoot. I’m positive I’m lacking one thing. May somebody throw gentle on this?

Particulars:
Taking a look at block 500000:

appending coinbase hash 2157b554dcfda405233906e461ee593875ae4b1b97615872db6a25130ecc1dd6 with the primary transaction hash fe6c48bbfdc025670f4db0340650ba5a50f9307b091d9aaa19aa44291961c69f and computing sha256 offers 0387276cdb563dc923e945f8e68596e3556756d2f2119b9b67905658b73afcb2 and doing one other sha256 offers 1c0a7630e70d2b39b15585ec19c13c6f0a729a6501f5396dd75f75cb3aa4d110 which is completely different from the one returned by SHA256D64 which is 1024e63a6bdab1efb75aae1dd065c11a97cf94e978e6aed9adb2f04d08887164.

Share this
Tags

Must-read

UK startup Wayve begins testing self-driving tech in Nissan vehicles on Tokyo’s streets | Self-driving vehicles

British startup Wayve has begun testing self-driving vehicles with Nissan in Japan forward of a 2027 launch to customers, as the corporate stated...

Rebeca Delgado Joins Torc As Vice President, Engineering – Autonomy Functions

BLACKSBURG, Va – September 16, 2025 – Torc Robotics, an unbiased subsidiary of Daimler Truck AG and a pioneer in commercializing self-driving automobile...

‘Excessive nausea’: Are EVs inflicting automobile illness – and what might be performed? | Electrical, hybrid and low-emission automobiles

It was a 12 months in to driving his daughter to high school in his new electrical automobile that Phil Bellamy found she...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here