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 41
41
42
42
RANGE_BEGIN = PORT_MIN + 2 * PORT_RANGE # Start after p2p and rpc ports
43
43
44
-
45
44
class ProxyTest (BitcoinTestFramework ):
46
45
def set_test_params (self ):
47
46
self .num_nodes = 4
Original file line number Diff line number Diff line change @@ -34,6 +34,14 @@ def setup_network(self):
34
34
def run_test (self ):
35
35
# All nodes should start with 1,250 BTC:
36
36
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
+
37
45
for i in range (4 ):
38
46
assert_equal (self .nodes [i ].getbalance (), starting_balance )
39
47
self .nodes [i ].getnewaddress ("" ) # bug workaround, coins generated assigned to first getnewaddress!
You can’t perform that action at this time.
0 commit comments