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