You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recall I was reversing it, I had an unit test to verify the calculated merkle on top of a few examples.
I think it's reversed in another func, I will check when back home
When looking at the bictcoin wiki: https://en.bitcoin.it/wiki/Block_hashing_algorithm
It is clearly mentioned that merkle root hash should be reversed.
When looking at the leaf code, it isn't done :
https://github.com/matteocrippa/leafminer/blob/main/src/model/job.cpp#L30
The Previous hash is correctly reversed.
Why is that?
The text was updated successfully, but these errors were encountered: