Bitcoin Core  27.99.0
P2P Digital Currency
Public Attributes | List of all members
node::ChainstateLoadOptions Struct Reference

#include <chainstate.h>

Collaboration diagram for node::ChainstateLoadOptions:
[legend]

Public Attributes

CTxMemPoolmempool {nullptr}
 
bool block_tree_db_in_memory {false}
 
bool coins_db_in_memory {false}
 
bool reindex {false}
 
bool reindex_chainstate {false}
 
bool prune {false}
 
bool require_full_verification {true}
 Setting require_full_verification to true will require all checks at check_level (below) to succeed for loading to succeed. More...
 
int64_t check_blocks {DEFAULT_CHECKBLOCKS}
 
int64_t check_level {DEFAULT_CHECKLEVEL}
 
std::function< void()> coins_error_cb
 

Detailed Description

Definition at line 21 of file chainstate.h.

Member Data Documentation

◆ block_tree_db_in_memory

bool node::ChainstateLoadOptions::block_tree_db_in_memory {false}

Definition at line 23 of file chainstate.h.

◆ check_blocks

int64_t node::ChainstateLoadOptions::check_blocks {DEFAULT_CHECKBLOCKS}

Definition at line 33 of file chainstate.h.

◆ check_level

int64_t node::ChainstateLoadOptions::check_level {DEFAULT_CHECKLEVEL}

Definition at line 34 of file chainstate.h.

◆ coins_db_in_memory

bool node::ChainstateLoadOptions::coins_db_in_memory {false}

Definition at line 24 of file chainstate.h.

◆ coins_error_cb

std::function<void()> node::ChainstateLoadOptions::coins_error_cb

Definition at line 35 of file chainstate.h.

◆ mempool

CTxMemPool* node::ChainstateLoadOptions::mempool {nullptr}

Definition at line 22 of file chainstate.h.

◆ prune

bool node::ChainstateLoadOptions::prune {false}

Definition at line 27 of file chainstate.h.

◆ reindex

bool node::ChainstateLoadOptions::reindex {false}

Definition at line 25 of file chainstate.h.

◆ reindex_chainstate

bool node::ChainstateLoadOptions::reindex_chainstate {false}

Definition at line 26 of file chainstate.h.

◆ require_full_verification

bool node::ChainstateLoadOptions::require_full_verification {true}

Setting require_full_verification to true will require all checks at check_level (below) to succeed for loading to succeed.

Setting it to false will skip checks if cache is not big enough to run them, so may be helpful for running with a small cache.

Definition at line 32 of file chainstate.h.


The documentation for this struct was generated from the following file: