Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 939 Lines • ▼ Show 20 Lines | public: | ||||
/** | /** | ||||
* Make various assertions about the state of the block index. | * Make various assertions about the state of the block index. | ||||
* | * | ||||
* By default this only executes fully when using the Regtest chain; see: | * By default this only executes fully when using the Regtest chain; see: | ||||
* fCheckBlockIndex. | * fCheckBlockIndex. | ||||
*/ | */ | ||||
void CheckBlockIndex(const Consensus::Params &consensusParams); | void CheckBlockIndex(const Consensus::Params &consensusParams); | ||||
/** Load the persisted mempool from disk */ | |||||
void LoadMempool(const Config &config, const ArgsManager &args); | |||||
/** Update the chain tip based on database information, i.e. CoinsTip()'s | /** Update the chain tip based on database information, i.e. CoinsTip()'s | ||||
* best block. */ | * best block. */ | ||||
bool LoadChainTip(const CChainParams &chainparams) | bool LoadChainTip(const CChainParams &chainparams) | ||||
EXCLUSIVE_LOCKS_REQUIRED(cs_main); | EXCLUSIVE_LOCKS_REQUIRED(cs_main); | ||||
//! Dictates whether we need to flush the cache to disk or not. | //! Dictates whether we need to flush the cache to disk or not. | ||||
//! | //! | ||||
//! @return the state of the size of the coins cache. | //! @return the state of the size of the coins cache. | ||||
▲ Show 20 Lines • Show All 322 Lines • Show Last 20 Lines |