aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMartin Zumsande <mzumsande@gmail.com>2021-05-31 22:49:42 +0200
committerMartin Zumsande <mzumsande@gmail.com>2021-07-12 02:16:45 +0200
commitc34ad3309f93979b274a37de013502b05d25fad8 (patch)
tree003e8754ab4add0aadc72107983134560a6ec851 /test
parent533500d9072b7d5a36a6491784bdeb9247e91fb0 (diff)
downloadbitcoin-c34ad3309f93979b274a37de013502b05d25fad8.tar.xz
net, rpc: Enable AddrFetch connections for functional testing
Co-authored-by: Amiti Uttarwar <amiti@uttarwar.org>
Diffstat (limited to 'test')
-rwxr-xr-xtest/functional/test_framework/test_node.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/test_framework/test_node.py b/test/functional/test_framework/test_node.py
index c17c16f797..71b8aeb20e 100755
--- a/test/functional/test_framework/test_node.py
+++ b/test/functional/test_framework/test_node.py
@@ -557,9 +557,8 @@ class TestNode():
return p2p_conn
def add_outbound_p2p_connection(self, p2p_conn, *, p2p_idx, connection_type="outbound-full-relay", **kwargs):
- """Add an outbound p2p connection from node. Either
- full-relay("outbound-full-relay") or
- block-relay-only("block-relay-only") connection.
+ """Add an outbound p2p connection from node. Must be an
+ "outbound-full-relay", "block-relay-only" or "addr-fetch" connection.
This method adds the p2p connection to the self.p2ps list and returns
the connection to the caller.