Changeset View
Changeset View
Standalone View
Standalone View
test/functional/preciousblock.py
Show All 36 Lines | def node_sync_via_rpc(nodes): | ||||
for node_src in nodes: | for node_src in nodes: | ||||
for node_dest in nodes: | for node_dest in nodes: | ||||
if node_src is node_dest: | if node_src is node_dest: | ||||
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 __init__(self): | |||||
super().__init__() | |||||
self.setup_clean_chain = True | self.setup_clean_chain = True | ||||
self.num_nodes = 3 | self.num_nodes = 3 | ||||
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( | ||||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |