Creepsky / creepMiner

Burstcoin C++ CPU and GPU Miner
GNU General Public License v3.0
171 stars 64 forks source link

CR: adjust blockheight comparison #440

Closed ohager closed 5 years ago

ohager commented 5 years ago

(This is just for me - I'll provide a fix)

Miner.cpp line 544 (510 1.7) Quick fix is != instead of >

A block is then detected whenever blockheight changes, but this is just a quick fix. A better solution would be to compare gensigs. Every time gensig changes run a new block. (Reported by @nlitend1 from discord)