test: Introduce MIN_BLOCKS_TO_KEEP constant

This commit is contained in:
Aurèle Oulès
2022-11-27 11:03:04 +01:00
parent 71d9a7c03b
commit 564b580bf0
2 changed files with 3 additions and 1 deletions

View File

@@ -61,6 +61,7 @@ WITNESS_COMMITMENT_HEADER = b"\xaa\x21\xa9\xed"
NORMAL_GBT_REQUEST_PARAMS = {"rules": ["segwit"]}
VERSIONBITS_LAST_OLD_BLOCK_VERSION = 4
MIN_BLOCKS_TO_KEEP = 288
def create_block(hashprev=None, coinbase=None, ntime=None, *, version=None, tmpl=None, txlist=None):