Changeset View
Changeset View
Standalone View
Standalone View
test/functional/feature_csv_activation.py
Show First 20 Lines • Show All 101 Lines • ▼ Show 20 Lines | def all_rlt_txs(txarray): | ||||
return txs | return txs | ||||
def get_csv_status(node): | def get_csv_status(node): | ||||
softforks = node.getblockchaininfo()['softforks'] | softforks = node.getblockchaininfo()['softforks'] | ||||
for sf in softforks: | for sf in softforks: | ||||
if sf['id'] == 'csv' and sf['version'] == 5: | if sf['id'] == 'csv' and sf['version'] == 5: | ||||
return sf['reject']['status'] | return sf['reject']['status'] | ||||
raise AssertionError('Cannot find CSV fork activation informations') | raise AssertionError('Cannot find CSV fork activation information') | ||||
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']] | ||||
▲ Show 20 Lines • Show All 588 Lines • Show Last 20 Lines |