mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-04 02:02:42 +02:00
miner: init: add -blockreservedweight startup option
- Prevent setting the value of `-blockreservedweight` below a safety value of 2000.
This commit is contained in:
@@ -34,6 +34,7 @@ from test_framework.util import assert_equal
|
||||
MAX_LOCATOR_SZ = 101
|
||||
MAX_BLOCK_WEIGHT = 4000000
|
||||
DEFAULT_BLOCK_RESERVED_WEIGHT = 8000
|
||||
MINIMUM_BLOCK_RESERVED_WEIGHT = 2000
|
||||
MAX_BLOOM_FILTER_SIZE = 36000
|
||||
MAX_BLOOM_HASH_FUNCS = 50
|
||||
|
||||
|
||||
Reference in New Issue
Block a user