diff options
author | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2021-07-26 00:33:58 +0200 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2021-07-27 00:14:57 +0200 |
commit | 12f094ec215aacf30e4e380c0399f80d4e45c345 (patch) | |
tree | c7a82daf4a3b2e84350871bc985b79477d78c213 /test/functional/test_framework | |
parent | 746f203f1950a7df50b9a7de87a361cc7354ffb4 (diff) |
test: use constants for CSV/CLTV activation heights in rpc_signrawtransaction
Diffstat (limited to 'test/functional/test_framework')
-rw-r--r-- | test/functional/test_framework/blocktools.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/test_framework/blocktools.py b/test/functional/test_framework/blocktools.py index 833a215993..2ab720aafb 100644 --- a/test/functional/test_framework/blocktools.py +++ b/test/functional/test_framework/blocktools.py @@ -55,6 +55,10 @@ TIME_GENESIS_BLOCK = 1296688602 # Coinbase transaction outputs can only be spent after this number of new blocks (network rule) COINBASE_MATURITY = 100 +# Soft-fork activation heights +CLTV_HEIGHT = 1351 +CSV_ACTIVATION_HEIGHT = 432 + # From BIP141 WITNESS_COMMITMENT_HEADER = b"\xaa\x21\xa9\xed" |