itest: start using harness miner in harness net
This commit replaces the old miner with the new HarnessMiner and cleans harness_node.go by moving methods into the test_common.go.
This commit is contained in:
8 files changed
+38
-162
No files matched your search
@@ -42,7 +42,7 @@ type HarnessMiner struct {
|
||||
|
||||
// NewMiner creates a new miner using btcd backend with the default log file
|
||||
// dir and name.
|
||||
func NewMinerTemp() (*HarnessMiner, error) { // TODO(yy): rename
|
||||
func NewMiner() (*HarnessMiner, error) {
|
||||
return newMiner(minerLogDir, minerLogFilename)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user