An options struct for ChainstateManager, more ergonomically referred to as ChainstateManager::Options due to the using-declaration in ChainstateManager.
Declared in <kernel/chainstatemanager_opts.h>
struct ChainstateManagerOpts;
| Name | Description |
|---|---|
assumed_valid_block | If set, it will override the block hash whose ancestors we will assume to have valid scripts without checking them. |
chainparams | Chain parameters governing consensus and validation. |
check_block_index | If set, run the block index sanity check at this frequency. |
coins_db | Options for opening the coins (UTXO) database. |
coins_view | Options for the in-memory coins view cache. |
datadir | Data directory where chainstate and block files are stored. |
max_tip_age | If the tip is older than this, the node is considered to be in initial block download. |
minimum_chain_work | If set, it will override the minimum work we will assume exists on some valid chain. |
notifications | Sink for chainstate notifications. |
prevoutfetch_threads_num | Number of worker threads used for prefetching block input prevouts. Zero means no parallel fetching. |
script_execution_cache_bytes | Size, in bytes, of the script execution result cache. |
signals | Sink for validation event notifications, or null if unused. |
signature_cache_bytes | Size, in bytes, of the signature verification cache. |
worker_threads_num | Number of script check worker threads. Zero means no parallel verification. |