From 12f094ec215aacf30e4e380c0399f80d4e45c345 Mon Sep 17 00:00:00 2001 From: Sebastian Falbesoner Date: Mon, 26 Jul 2021 00:33:58 +0200 Subject: test: use constants for CSV/CLTV activation heights in rpc_signrawtransaction --- test/functional/test_framework/blocktools.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/functional/test_framework/blocktools.py') 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" -- cgit v1.2.3