Hey guys, I think we can fix pool mining!!
I just need to know how the hashing works (like, what gets hashed and in which order). Can someone please tell me?
Bump.
you should take a look at the code, but it goes roughly like this:
1- the whole block is hashed with double sha2.
2- the header, except for the hash above is signed with the private key and the least significant 5 bits of the nonce
3- results from 1 and 2 are appended to the header
4- the header is hashed with X11
5- compare with target, publish if it was reached, start again if not.