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:
yyforyongyu committed 2022-01-05 13:10:06 +08:00
1 parent 337aa6670b
commit 587273174e
8 files changed
+38 -162

No files matched your search

+1 -1
View File
@@ -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)
}