test: use constants for CSV/CLTV activation heights in rpc_signrawtransaction

This commit is contained in:
Sebastian Falbesoner
2021-07-26 00:33:58 +02:00
parent 746f203f19
commit 12f094ec21
4 changed files with 13 additions and 6 deletions

View File

@ -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"