Changeset View
Changeset View
Standalone View
Standalone View
qa/rpc-tests/p2p-feefilter.py
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | def __init__(self): | ||||
super().__init__() | super().__init__() | ||||
self.num_nodes = 2 | self.num_nodes = 2 | ||||
self.setup_clean_chain = False | self.setup_clean_chain = False | ||||
def setup_network(self): | def setup_network(self): | ||||
# Node1 will be used to generate txs which should be relayed from Node0 | # Node1 will be used to generate txs which should be relayed from Node0 | ||||
# to our test node | # to our test node | ||||
self.nodes = [] | self.nodes = [] | ||||
extra_args = ["-debug", "-logtimemicros"] | extra_args = ["-logtimemicros"] | ||||
self.nodes.append( | self.nodes.append( | ||||
start_node(0, self.options.tmpdir, extra_args)) | start_node(0, self.options.tmpdir, extra_args)) | ||||
self.nodes.append( | self.nodes.append( | ||||
start_node(1, self.options.tmpdir, extra_args)) | start_node(1, self.options.tmpdir, extra_args)) | ||||
connect_nodes(self.nodes[0], 1) | connect_nodes(self.nodes[0], 1) | ||||
def run_test(self): | def run_test(self): | ||||
node1 = self.nodes[1] | node1 = self.nodes[1] | ||||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |