diff options
author | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2023-01-26 02:56:34 +0100 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2023-01-26 02:56:34 +0100 |
commit | ab4efad51b9ba276ffeb6871931e13772493f7cc (patch) | |
tree | f40ce1ab4e60e49bc80d2920bc3aa19be56efd74 /test/functional/wallet_groups.py | |
parent | ab98673f058853e00c310afad57925f54c1ecfae (diff) |
test: fix immediate tx relay in wallet_groups.py
Diffstat (limited to 'test/functional/wallet_groups.py')
-rwxr-xr-x | test/functional/wallet_groups.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/wallet_groups.py b/test/functional/wallet_groups.py index 83c1826a41..bdb9081261 100755 --- a/test/functional/wallet_groups.py +++ b/test/functional/wallet_groups.py @@ -41,6 +41,11 @@ class WalletGroupTest(BitcoinTestFramework): def run_test(self): self.log.info("Setting up") + # To take full use of immediate tx relay, all nodes need to be reachable + # via inbound peers, i.e. connect first to last to close the circle + # (the default test network topology looks like this: + # node0 <-- node1 <-- node2 <-- node3 <-- node4 <-- node5) + self.connect_nodes(0, self.num_nodes - 1) # Mine some coins self.generate(self.nodes[0], COINBASE_MATURITY + 1) |