Changeset View
Changeset View
Standalone View
Standalone View
test/functional/feature_bip68_sequence.py
Show All 39 Lines | |||||
# RPC error for non-BIP68 final transactions | # RPC error for non-BIP68 final transactions | ||||
NOT_FINAL_ERROR = "non-BIP68-final" | NOT_FINAL_ERROR = "non-BIP68-final" | ||||
class BIP68Test(BitcoinTestFramework): | class BIP68Test(BitcoinTestFramework): | ||||
def set_test_params(self): | def set_test_params(self): | ||||
self.num_nodes = 2 | self.num_nodes = 2 | ||||
self.extra_args = [["-noparkdeepreorg", "-maxreorgdepth=-1", "-acceptnonstdtxn=1"], | self.extra_args = [ | ||||
["-acceptnonstdtxn=0", "-maxreorgdepth=-1"]] | [ | ||||
"-noparkdeepreorg", | |||||
"-maxreorgdepth=-1", | |||||
"-acceptnonstdtxn=1", | |||||
# bump because mocktime might cause a disconnect otherwise | |||||
"-peertimeout=9999", | |||||
], | |||||
[ | |||||
"-acceptnonstdtxn=0", | |||||
"-maxreorgdepth=-1" | |||||
] | |||||
] | |||||
def skip_test_if_missing_module(self): | def skip_test_if_missing_module(self): | ||||
self.skip_if_no_wallet() | self.skip_if_no_wallet() | ||||
def run_test(self): | def run_test(self): | ||||
self.relayfee = self.nodes[0].getnetworkinfo()["relayfee"] | self.relayfee = self.nodes[0].getnetworkinfo()["relayfee"] | ||||
# Generate some coins | # Generate some coins | ||||
▲ Show 20 Lines • Show All 439 Lines • Show Last 20 Lines |