|
|
@ -199,7 +199,6 @@ class WalletTest (BitcoinTestFramework):
|
|
|
|
|
|
|
|
|
|
|
|
#do some -walletbroadcast tests
|
|
|
|
#do some -walletbroadcast tests
|
|
|
|
stop_nodes(self.nodes)
|
|
|
|
stop_nodes(self.nodes)
|
|
|
|
wait_bitcoinds()
|
|
|
|
|
|
|
|
self.nodes = start_nodes(3, self.options.tmpdir, [["-walletbroadcast=0"],["-walletbroadcast=0"],["-walletbroadcast=0"]])
|
|
|
|
self.nodes = start_nodes(3, self.options.tmpdir, [["-walletbroadcast=0"],["-walletbroadcast=0"],["-walletbroadcast=0"]])
|
|
|
|
connect_nodes_bi(self.nodes,0,1)
|
|
|
|
connect_nodes_bi(self.nodes,0,1)
|
|
|
|
connect_nodes_bi(self.nodes,1,2)
|
|
|
|
connect_nodes_bi(self.nodes,1,2)
|
|
|
@ -225,7 +224,6 @@ class WalletTest (BitcoinTestFramework):
|
|
|
|
|
|
|
|
|
|
|
|
#restart the nodes with -walletbroadcast=1
|
|
|
|
#restart the nodes with -walletbroadcast=1
|
|
|
|
stop_nodes(self.nodes)
|
|
|
|
stop_nodes(self.nodes)
|
|
|
|
wait_bitcoinds()
|
|
|
|
|
|
|
|
self.nodes = start_nodes(3, self.options.tmpdir)
|
|
|
|
self.nodes = start_nodes(3, self.options.tmpdir)
|
|
|
|
connect_nodes_bi(self.nodes,0,1)
|
|
|
|
connect_nodes_bi(self.nodes,0,1)
|
|
|
|
connect_nodes_bi(self.nodes,1,2)
|
|
|
|
connect_nodes_bi(self.nodes,1,2)
|
|
|
@ -335,7 +333,6 @@ class WalletTest (BitcoinTestFramework):
|
|
|
|
for m in maintenance:
|
|
|
|
for m in maintenance:
|
|
|
|
print("check " + m)
|
|
|
|
print("check " + m)
|
|
|
|
stop_nodes(self.nodes)
|
|
|
|
stop_nodes(self.nodes)
|
|
|
|
wait_bitcoinds()
|
|
|
|
|
|
|
|
self.nodes = start_nodes(3, self.options.tmpdir, [[m]] * 3)
|
|
|
|
self.nodes = start_nodes(3, self.options.tmpdir, [[m]] * 3)
|
|
|
|
while m == '-reindex' and [block_count] * 3 != [self.nodes[i].getblockcount() for i in range(3)]:
|
|
|
|
while m == '-reindex' and [block_count] * 3 != [self.nodes[i].getblockcount() for i in range(3)]:
|
|
|
|
# reindex will leave rpc warm up "early"; Wait for it to finish
|
|
|
|
# reindex will leave rpc warm up "early"; Wait for it to finish
|
|
|
|