5#ifndef BITCOIN_KERNEL_CHAINSTATEMANAGER_OPTS_H
6#define BITCOIN_KERNEL_CHAINSTATEMANAGER_OPTS_H
static constexpr auto DEFAULT_MAX_TIP_AGE
CChainParams defines various tweakable parameters of a given instance of the Bitcoin system.
A base class defining functions for notifying about certain kernel events.
static constexpr size_t DEFAULT_SIGNATURE_CACHE_BYTES
static constexpr size_t DEFAULT_SCRIPT_EXECUTION_CACHE_BYTES
User-controlled performance and debug options.
User-controlled performance and debug options.
An options struct for ChainstateManager, more ergonomically referred to as ChainstateManager::Options...
size_t signature_cache_bytes
ValidationSignals * signals
std::optional< uint256 > assumed_valid_block
If set, it will override the block hash whose ancestors we will assume to have valid scripts without ...
std::optional< arith_uint256 > minimum_chain_work
If set, it will override the minimum work we will assume exists on some valid chain.
std::optional< int32_t > check_block_index
std::chrono::seconds max_tip_age
If the tip is older than this, the node is considered to be in initial block download.
Notifications & notifications
const CChainParams & chainparams
size_t script_execution_cache_bytes
int worker_threads_num
Number of script check worker threads. Zero means no parallel verification.
CoinsViewOptions coins_view