Move COINBASE_MATURITY from feature_nulldummy test to blocktools.

This commit is contained in:
Kiminuo
2021-05-17 16:38:02 +02:00
parent 1ed859e90e
commit 525448df9d
2 changed files with 10 additions and 2 deletions

View File

@ -52,6 +52,9 @@ MAX_BLOCK_SIGOPS_WEIGHT = MAX_BLOCK_SIGOPS * WITNESS_SCALE_FACTOR
# Genesis block time (regtest)
TIME_GENESIS_BLOCK = 1296688602
# Coinbase transaction outputs can only be spent after this number of new blocks (network rule)
COINBASE_MATURITY = 100
# From BIP141
WITNESS_COMMITMENT_HEADER = b"\xaa\x21\xa9\xed"