Introduce -testactivationheight=name@height setting

This commit is contained in:
MarcoFalke
2021-08-27 12:54:24 +02:00
parent fadb2ef2fa
commit faad1e5ffd
6 changed files with 32 additions and 17 deletions

View File

@@ -52,7 +52,7 @@ class NULLDUMMYTest(BitcoinTestFramework):
# This script tests NULLDUMMY activation, which is part of the 'segwit' deployment, so we go through
# normal segwit activation here (and don't use the default always-on behaviour).
self.extra_args = [[
f'-segwitheight={COINBASE_MATURITY + 5}',
f'-testactivationheight=segwit@{COINBASE_MATURITY + 5}',
'-addresstype=legacy',
'-par=1', # Use only one script thread to get the exact reject reason for testing
]]