![]() |
Bitcoin ABC 0.32.4
P2P Digital Currency
|
An options struct for ChainstateManager, more ergonomically referred to as ChainstateManager::Options due to the using-declaration in ChainstateManager.
More...
#include <chainstatemanager_opts.h>
Public Attributes | |
| const Config & | config |
| fs::path | datadir |
| const std::function< NodeClock::time_point()> | adjusted_time_callback |
| std::optional< bool > | check_block_index {} |
| bool | checkpoints_enabled {DEFAULT_CHECKPOINTS_ENABLED} |
| bool | park_deep_reorg {DEFAULT_PARK_DEEP_REORG} |
| bool | automatic_unparking {!AVALANCHE_DEFAULT_ENABLED} |
| std::optional< arith_uint256 > | minimum_chain_work {} |
| If set, it will override the minimum work we will assume exists on some valid chain. More... | |
| std::optional< BlockHash > | assumed_valid_block {} |
| If set, it will override the block hash whose ancestors we will assume to have valid scripts without checking them. More... | |
| std::chrono::seconds | max_tip_age {DEFAULT_MAX_TIP_AGE} |
| If the tip is older than this, the node is considered to be in initial block download. More... | |
| DBOptions | block_tree_db {} |
| DBOptions | coins_db {} |
| CoinsViewOptions | coins_view {} |
| Notifications & | notifications |
| size_t | script_execution_cache_bytes {DEFAULT_SCRIPT_EXECUTION_CACHE_BYTES} |
| size_t | signature_cache_bytes {DEFAULT_SIGNATURE_CACHE_BYTES} |
| int | stop_at_height {DEFAULT_STOPATHEIGHT} |
| std::optional< int64_t > | replay_protection_activation_time {} |
| If set, this overwrites the timestamp at which replay protection activates. More... | |
| bool | store_recent_headers_time {DEFAULT_STORE_RECENT_HEADERS_TIME} |
| If set, store and load the last few block headers reception time to speed up RTT bootstraping. More... | |
An options struct for ChainstateManager, more ergonomically referred to as ChainstateManager::Options due to the using-declaration in ChainstateManager.
Definition at line 38 of file chainstatemanager_opts.h.
| const std::function<NodeClock::time_point()> kernel::ChainstateManagerOpts::adjusted_time_callback |
Definition at line 41 of file chainstatemanager_opts.h.
| std::optional<BlockHash> kernel::ChainstateManagerOpts::assumed_valid_block {} |
If set, it will override the block hash whose ancestors we will assume to have valid scripts without checking them.
Definition at line 52 of file chainstatemanager_opts.h.
| bool kernel::ChainstateManagerOpts::automatic_unparking {!AVALANCHE_DEFAULT_ENABLED} |
Definition at line 46 of file chainstatemanager_opts.h.
| DBOptions kernel::ChainstateManagerOpts::block_tree_db {} |
Definition at line 56 of file chainstatemanager_opts.h.
| std::optional<bool> kernel::ChainstateManagerOpts::check_block_index {} |
Definition at line 43 of file chainstatemanager_opts.h.
| bool kernel::ChainstateManagerOpts::checkpoints_enabled {DEFAULT_CHECKPOINTS_ENABLED} |
Definition at line 44 of file chainstatemanager_opts.h.
| DBOptions kernel::ChainstateManagerOpts::coins_db {} |
Definition at line 57 of file chainstatemanager_opts.h.
| CoinsViewOptions kernel::ChainstateManagerOpts::coins_view {} |
Definition at line 58 of file chainstatemanager_opts.h.
| const Config& kernel::ChainstateManagerOpts::config |
Definition at line 39 of file chainstatemanager_opts.h.
| fs::path kernel::ChainstateManagerOpts::datadir |
Definition at line 40 of file chainstatemanager_opts.h.
| std::chrono::seconds kernel::ChainstateManagerOpts::max_tip_age {DEFAULT_MAX_TIP_AGE} |
If the tip is older than this, the node is considered to be in initial block download.
Definition at line 55 of file chainstatemanager_opts.h.
| std::optional<arith_uint256> kernel::ChainstateManagerOpts::minimum_chain_work {} |
If set, it will override the minimum work we will assume exists on some valid chain.
Definition at line 49 of file chainstatemanager_opts.h.
| Notifications& kernel::ChainstateManagerOpts::notifications |
Definition at line 59 of file chainstatemanager_opts.h.
| bool kernel::ChainstateManagerOpts::park_deep_reorg {DEFAULT_PARK_DEEP_REORG} |
Definition at line 45 of file chainstatemanager_opts.h.
| std::optional<int64_t> kernel::ChainstateManagerOpts::replay_protection_activation_time {} |
If set, this overwrites the timestamp at which replay protection activates.
Definition at line 65 of file chainstatemanager_opts.h.
| size_t kernel::ChainstateManagerOpts::script_execution_cache_bytes {DEFAULT_SCRIPT_EXECUTION_CACHE_BYTES} |
Definition at line 60 of file chainstatemanager_opts.h.
| size_t kernel::ChainstateManagerOpts::signature_cache_bytes {DEFAULT_SIGNATURE_CACHE_BYTES} |
Definition at line 61 of file chainstatemanager_opts.h.
| int kernel::ChainstateManagerOpts::stop_at_height {DEFAULT_STOPATHEIGHT} |
Definition at line 62 of file chainstatemanager_opts.h.
| bool kernel::ChainstateManagerOpts::store_recent_headers_time {DEFAULT_STORE_RECENT_HEADERS_TIME} |
If set, store and load the last few block headers reception time to speed up RTT bootstraping.
Definition at line 69 of file chainstatemanager_opts.h.