zone117x / node-stratum-pool

High performance Stratum poolserver in Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cached block height over getblocktemplate

HashUnlimited opened this issue · comments

After a chain split I just recognised that we are keeping on using our cached height for block generation. Not so smart as we are going to attempt to continue mining on the invalid branch. We shall use the height given in the getblocktemplate call for each and every block assembly. PRs welcome ;-)