decred / gominer

Go (golang) based GPU miner for Decred.
GNU General Public License v3.0
160 stars 80 forks source link

stratum server, reverse prev block hash #177

Closed Lbqds closed 1 year ago

Lbqds commented 6 years ago

it should be i < 8 here: https://github.com/decred/gominer/blob/62d11fbb55c1683530f018c51cd63135298f6b88/util/util.go#L49

when dcrd run in simnet, the difficulty is too low, the first 8 bytes of block hash is "000016ce", it should be "ce160000" after reverse, rather than "00000000"