Bitcoin Core  22.99.0
P2P Digital Currency
Namespaces | Functions
chainstate.cpp File Reference
#include <node/chainstate.h>
#include <consensus/params.h>
#include <node/blockstorage.h>
#include <validation.h>
Include dependency graph for chainstate.cpp:

Go to the source code of this file.

Namespaces

 node
 

Functions

std::optional< ChainstateLoadingError > node::LoadChainstate (bool fReset, ChainstateManager &chainman, CTxMemPool *mempool, bool fPruneMode, const Consensus::Params &consensus_params, bool fReindexChainState, int64_t nBlockTreeDBCache, int64_t nCoinDBCache, int64_t nCoinCacheUsage, bool block_tree_db_in_memory, bool coins_db_in_memory, std::function< bool()> shutdown_requested=nullptr, std::function< void()> coins_error_cb=nullptr)
 This sequence can have 4 types of outcomes: More...
 
std::optional< ChainstateLoadVerifyError > node::VerifyLoadedChainstate (ChainstateManager &chainman, bool fReset, bool fReindexChainState, const Consensus::Params &consensus_params, unsigned int check_blocks, unsigned int check_level, std::function< int64_t()> get_unix_time_seconds)