Implement Close methods for tpoolTester and hostTester; close miner in consensusSetTester.Close()
Created by: mnsl
Implements Close()
methods for tpoolTester
and hostTester
. Adds io.Closer
to the TestMiner
interface so that tpoolTester.Close()
and hostTester.Close()
can close the miner.
These methods are necessary for clean shutdown during testing. A later pull request will implement modules.Wallet.Close()
.
Resolves #1209 (closed).