itest+lntest: add helper methods to manage temp miners
This commit adds several methods to easily spawn a temp miner and connect/disconnect it from the original miner.
This commit is contained in:
4 files changed
+106
-135
No files matched your search
@@ -21,12 +21,6 @@ import (
|
||||
// logDirPattern is the pattern of the name of the temporary log directory.
|
||||
const logDirPattern = "%s/.backendlogs"
|
||||
|
||||
// temp is used to signal we want to establish a temporary connection using the
|
||||
// btcd Node API.
|
||||
//
|
||||
// NOTE: Cannot be const, since the node API expects a reference.
|
||||
var temp = "temp"
|
||||
|
||||
// BtcdBackendConfig is an implementation of the BackendConfig interface
|
||||
// backed by a btcd node.
|
||||
type BtcdBackendConfig struct {
|
||||
|
||||
Reference in new issue
Block a user