Introduce -testactivationheight=name@height setting

This commit is contained in:
MarcoFalke committed 2021-09-16 18:52:59 +02:00
1 parent fadb2ef2fa
commit faad1e5ffd
6 files changed
+32 -17

No files matched your search

+1 -1
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
]]