This PR includes the quit fix and other fixes from a different work branch that includes a hack to mine a block every 120 second (just pause after getting a result and before going on to new work). For anyone interested, I use this to keep testnet going with no continuous resource use, just a few ms of compute every couple minutes https://github.com/chappjc/gominer/commit/6744bc2206380ddbb165233edae9601b83170126
Quitting gominer would pretty much always hang.
This PR includes the quit fix and other fixes from a different work branch that includes a hack to mine a block every 120 second (just pause after getting a result and before going on to new work). For anyone interested, I use this to keep testnet going with no continuous resource use, just a few ms of compute every couple minutes https://github.com/chappjc/gominer/commit/6744bc2206380ddbb165233edae9601b83170126