mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-30 02:31:05 +02:00
test: use constants for CSV/CLTV activation heights in rpc_signrawtransaction
This commit is contained in:
@ -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"
|
||||
|
||||
|
Reference in New Issue
Block a user