lntest: add method P2PAddr to backend
It is useful if we want to keep bitcoind main itest mode, but connect one node using neutrino.
This commit is contained in:
4 files changed
+18
No files matched your search
@@ -114,6 +114,9 @@ type BackendConfig interface {
|
||||
// Credentials returns the rpc username, password and host for the
|
||||
// backend.
|
||||
Credentials() (string, string, string, error)
|
||||
|
||||
// P2PAddr return bitcoin p2p ip:port.
|
||||
P2PAddr() (string, error)
|
||||
}
|
||||
|
||||
// BaseNodeConfig is the base node configuration.
|
||||
|
||||
Reference in new issue
Block a user