diff options
author | Kiminuo <kiminuo@protonmail.com> | 2021-05-17 16:38:02 +0200 |
---|---|---|
committer | Kiminuo <kiminuo@protonmail.com> | 2021-05-21 14:33:40 +0200 |
commit | 525448df9dc2ab6b7e960ff138956ae3e2efdf60 (patch) | |
tree | 562d16a81bfdb229a10d8daf0dd5527ade965a1d /test/functional/test_framework | |
parent | 1ed859e90e18384376e3a1ff0cb76f3e9ab11c2d (diff) | |
download | bitcoin-525448df9dc2ab6b7e960ff138956ae3e2efdf60.tar.xz |
Move COINBASE_MATURITY from `feature_nulldummy` test to `blocktools`.
Diffstat (limited to 'test/functional/test_framework')
-rw-r--r-- | test/functional/test_framework/blocktools.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/test_framework/blocktools.py b/test/functional/test_framework/blocktools.py index d08e025178..e91b44e776 100644 --- a/test/functional/test_framework/blocktools.py +++ b/test/functional/test_framework/blocktools.py @@ -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" |