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:
Boris Nagaev committed 2025-06-22 11:06:54 -03:00
1 parent 07217f2dd8
commit 9100be5ba5
4 files changed
+18

No files matched your search

+3
View File
@@ -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.