File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed
Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 4141
4242RANGE_BEGIN = PORT_MIN + 2 * PORT_RANGE # Start after p2p and rpc ports
4343
44-
4544class ProxyTest (BitcoinTestFramework ):
4645 def set_test_params (self ):
4746 self .num_nodes = 4
Original file line number Diff line number Diff line change @@ -34,6 +34,14 @@ def setup_network(self):
3434 def run_test (self ):
3535 # All nodes should start with 1,250 BTC:
3636 starting_balance = 1250
37+
38+ # All nodes should be out of IBD.
39+ # If the nodes are not all out of IBD, that can interfere with
40+ # blockchain sync later in the test when nodes are connected, due to
41+ # timing issues.
42+ for n in self .nodes :
43+ assert n .getblockchaininfo ()["initialblockdownload" ] == False
44+
3745 for i in range (4 ):
3846 assert_equal (self .nodes [i ].getbalance (), starting_balance )
3947 self .nodes [i ].getnewaddress ("" ) # bug workaround, coins generated assigned to first getnewaddress!
You can’t perform that action at this time.
0 commit comments