Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 443 Lines • ▼ Show 20 Lines | |||||
*/ | */ | ||||
void UnlinkPrunedFiles(const std::set<int> &setFilesToPrune); | void UnlinkPrunedFiles(const std::set<int> &setFilesToPrune); | ||||
/** Flush all state, indexes and buffers to disk. */ | /** Flush all state, indexes and buffers to disk. */ | ||||
void FlushStateToDisk(); | void FlushStateToDisk(); | ||||
/** Prune block files and flush state to disk. */ | /** Prune block files and flush state to disk. */ | ||||
void PruneAndFlush(); | void PruneAndFlush(); | ||||
/** Prune block files up to a given height */ | /** Prune block files up to a given height */ | ||||
void PruneBlockFilesManual(int nPruneUpToHeight); | void PruneBlockFilesManual(int nManualPruneHeight); | ||||
/** | /** | ||||
* (try to) add transaction to memory pool | * (try to) add transaction to memory pool | ||||
*/ | */ | ||||
bool AcceptToMemoryPool(const Config &config, CTxMemPool &pool, | bool AcceptToMemoryPool(const Config &config, CTxMemPool &pool, | ||||
CValidationState &state, const CTransactionRef &tx, | CValidationState &state, const CTransactionRef &tx, | ||||
bool fLimitFree, bool *pfMissingInputs, | bool fLimitFree, bool *pfMissingInputs, | ||||
bool fOverrideMempoolLimit = false, | bool fOverrideMempoolLimit = false, | ||||
▲ Show 20 Lines • Show All 267 Lines • Show Last 20 Lines |