Changeset View
Changeset View
Standalone View
Standalone View
qa/rpc-tests/abc-rpc.py
Show All 19 Lines | class ABC_RPC_Test (BitcoinTestFramework): | ||||
def __init__(self): | def __init__(self): | ||||
super(ABC_RPC_Test, self).__init__() | super(ABC_RPC_Test, self).__init__() | ||||
self.num_nodes = 1 | self.num_nodes = 1 | ||||
self.tip = None | self.tip = None | ||||
self.setup_clean_chain = True | self.setup_clean_chain = True | ||||
def setup_network(self): | def setup_network(self): | ||||
self.extra_args = [['-debug', | self.extra_args = [['-norelaypriority', | ||||
'-norelaypriority', | |||||
'-whitelist=127.0.0.1', | '-whitelist=127.0.0.1', | ||||
'-par=1']] | '-par=1']] | ||||
self.nodes = start_nodes(self.num_nodes, self.options.tmpdir, | self.nodes = start_nodes(self.num_nodes, self.options.tmpdir, | ||||
self.extra_args) | self.extra_args) | ||||
self.genesis_hash = int(self.nodes[0].getbestblockhash(), 16) | self.genesis_hash = int(self.nodes[0].getbestblockhash(), 16) | ||||
def check_subversion(self, pattern_str): | def check_subversion(self, pattern_str): | ||||
'Check that the subversion is set as expected' | 'Check that the subversion is set as expected' | ||||
▲ Show 20 Lines • Show All 69 Lines • Show Last 20 Lines |