iceland2k14 / solominer

Solo Mining in python for BTC Block Reward, Pure luck
MIT License
80 stars 31 forks source link

Update & fix #13

Closed papacrouz closed 2 years ago

papacrouz commented 2 years ago

Now nonce can be random or increment by 1 Hashmeter added, works only if the nonce is increment by 1 Fix missing sock & extranonce2 refs

iceland2k14 commented 2 years ago

I have a doubt. Which one is Correct blockheader = ctx.version + ctx.prevhash + merkle_root + ctx.nbits + ctx.ntime + nonce or blockheader = ctx.version + ctx.prevhash + merkle_root + ctx.ntime + ctx.nbits + nonce

papacrouz commented 2 years ago

The correct is blockheader = ctx.version + ctx.prevhash + merkle_root + ctx.ntime + ctx.nbits + nonce