Changeset View
Changeset View
Standalone View
Standalone View
test/functional/bip68-112-113-p2p.py
Show First 20 Lines • Show All 95 Lines • ▼ Show 20 Lines | for sf in softforks: | ||||
return sf['reject']['status'] | return sf['reject']['status'] | ||||
raise AssertionError('Cannot find CSV fork activation informations') | raise AssertionError('Cannot find CSV fork activation informations') | ||||
class BIP68_112_113Test(ComparisonTestFramework): | class BIP68_112_113Test(ComparisonTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 1 | self.num_nodes = 1 | ||||
self.setup_clean_chain = True | self.setup_clean_chain = True | ||||
self.extra_args = [['-whitelist=127.0.0.1', '-blockversion=4']] | self.extra_args = [['-whitelist=127.0.0.1', | ||||
'-blockversion=4', "-deprecatedrpc=signrawtransaction"]] | |||||
def run_test(self): | def run_test(self): | ||||
test = TestManager(self, self.options.tmpdir) | test = TestManager(self, self.options.tmpdir) | ||||
test.add_all_connections(self.nodes) | test.add_all_connections(self.nodes) | ||||
# Start up network handling in another thread | # Start up network handling in another thread | ||||
NetworkThread().start() | NetworkThread().start() | ||||
test.run() | test.run() | ||||
▲ Show 20 Lines • Show All 581 Lines • Show Last 20 Lines |