Changeset View
Changeset View
Standalone View
Standalone View
test/functional/feature_cltv.py
Show First 20 Lines • Show All 74 Lines • ▼ Show 20 Lines | def cltv_lock_to_height(node, tx, to_address, amount, height=-1): | ||||
return fundtx, spendtx | return fundtx, spendtx | ||||
class BIP65Test(BitcoinTestFramework): | class BIP65Test(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 1 | self.num_nodes = 1 | ||||
self.extra_args = [[ | self.extra_args = [[ | ||||
'-whitelist=127.0.0.1', | '-whitelist=noban@127.0.0.1', | ||||
'-par=1', # Use only one script thread to get the exact reject reason for testing | '-par=1', # Use only one script thread to get the exact reject reason for testing | ||||
'-acceptnonstdtxn=1', # cltv_invalidate is nonstandard | '-acceptnonstdtxn=1', # cltv_invalidate is nonstandard | ||||
]] | ]] | ||||
self.setup_clean_chain = True | self.setup_clean_chain = True | ||||
self.rpc_timeout = 120 | self.rpc_timeout = 120 | ||||
def skip_test_if_missing_module(self): | def skip_test_if_missing_module(self): | ||||
self.skip_if_no_wallet() | self.skip_if_no_wallet() | ||||
▲ Show 20 Lines • Show All 127 Lines • Show Last 20 Lines |