mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-07-12 19:32:35 +02:00
test: Require standard txs in regtest
This commit is contained in:
@ -57,7 +57,11 @@ def cltv_validate(node, tx, height):
|
||||
class BIP65Test(BitcoinTestFramework):
|
||||
def set_test_params(self):
|
||||
self.num_nodes = 1
|
||||
self.extra_args = [['-whitelist=127.0.0.1', '-par=1']] # Use only one script thread to get the exact reject reason for testing
|
||||
self.extra_args = [[
|
||||
'-whitelist=127.0.0.1',
|
||||
'-par=1', # Use only one script thread to get the exact reject reason for testing
|
||||
'-acceptnonstdtxn=1', # cltv_invalidate is nonstandard
|
||||
]]
|
||||
self.setup_clean_chain = True
|
||||
self.rpc_timeout = 120
|
||||
|
||||
|
Reference in New Issue
Block a user