mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-02 09:46:52 -05:00
test: fix immediate tx relay in wallet_groups.py
This commit is contained in:
parent
ab98673f05
commit
ab4efad51b
1 changed files with 5 additions and 0 deletions
|
@ -41,6 +41,11 @@ class WalletGroupTest(BitcoinTestFramework):
|
||||||
|
|
||||||
def run_test(self):
|
def run_test(self):
|
||||||
self.log.info("Setting up")
|
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
|
# Mine some coins
|
||||||
self.generate(self.nodes[0], COINBASE_MATURITY + 1)
|
self.generate(self.nodes[0], COINBASE_MATURITY + 1)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue