aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_dersig.py
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-08-27 16:53:11 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-09-16 18:53:04 +0200
commitfa4db8671bb604e11b43a837f91de8866226f166 (patch)
treeb48353484a513bdb439d937aed38946999be8fcd /test/functional/feature_dersig.py
parentfaad1e5ffda255aecf1b0ea2152cd4f6805e678f (diff)
downloadbitcoin-fa4db8671bb604e11b43a837f91de8866226f166.tar.xz
test: Activate all regtest softforks at height 1, unless overridden
Diffstat (limited to 'test/functional/feature_dersig.py')
-rwxr-xr-xtest/functional/feature_dersig.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/functional/feature_dersig.py b/test/functional/feature_dersig.py
index abf4cfeba2..28aff1f2f9 100755
--- a/test/functional/feature_dersig.py
+++ b/test/functional/feature_dersig.py
@@ -8,7 +8,6 @@ Test the DERSIG soft-fork activation on regtest.
"""
from test_framework.blocktools import (
- DERSIG_HEIGHT,
create_block,
create_coinbase,
)
@@ -42,10 +41,14 @@ def unDERify(tx):
tx.vin[0].scriptSig = CScript(newscript)
+DERSIG_HEIGHT = 102
+
+
class BIP66Test(BitcoinTestFramework):
def set_test_params(self):
self.num_nodes = 1
self.extra_args = [[
+ f'-testactivationheight=dersig@{DERSIG_HEIGHT}',
'-whitelist=noban@127.0.0.1',
'-par=1', # Use only one script thread to get the exact log msg for testing
]]