Changeset View
Changeset View
Standalone View
Standalone View
test/functional/preciousblock.py
Show All 39 Lines | for node_src in nodes: | ||||
continue | continue | ||||
unidirectional_node_sync_via_rpc(node_src, node_dest) | unidirectional_node_sync_via_rpc(node_src, node_dest) | ||||
class PreciousTest(BitcoinTestFramework): | class PreciousTest(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.setup_clean_chain = True | self.setup_clean_chain = True | ||||
self.num_nodes = 3 | self.num_nodes = 3 | ||||
self.extra_args = [["-noparkdeepreorg"], | |||||
["-noparkdeepreorg"], ["-noparkdeepreorg"]] | |||||
def setup_network(self): | def setup_network(self): | ||||
self.setup_nodes() | self.setup_nodes() | ||||
def run_test(self): | def run_test(self): | ||||
self.log.info( | self.log.info( | ||||
"Ensure submitblock can in principle reorg to a competing chain") | "Ensure submitblock can in principle reorg to a competing chain") | ||||
self.nodes[0].generate(1) | self.nodes[0].generate(1) | ||||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |