Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 348 Lines • ▼ Show 20 Lines | |||||
CBlockIndex *InsertBlockIndex(uint256 hash); | CBlockIndex *InsertBlockIndex(uint256 hash); | ||||
/** 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 nPruneUpToHeight); | ||||
/** Check is UAHF has activated. */ | /** Check if UAHF has activated. */ | ||||
bool IsUAHFenabled(const Config &config, const CBlockIndex *pindexPrev); | bool IsUAHFenabled(const Config &config, const CBlockIndex *pindexPrev); | ||||
/** Check is DAA HF has activated. */ | /** Check if DAA HF has activated. */ | ||||
bool IsDAAEnabled(const Config &config, const CBlockIndex *pindexPrev); | bool IsDAAEnabled(const Config &config, const CBlockIndex *pindexPrev); | ||||
/** | /** | ||||
* (try to) add transaction to memory pool | * (try to) add transaction to memory pool | ||||
* plTxnReplaced will be appended to with all transactions replaced from | * plTxnReplaced will be appended to with all transactions replaced from | ||||
* mempool. | * mempool. | ||||
*/ | */ | ||||
bool AcceptToMemoryPool(const Config &config, CTxMemPool &pool, | bool AcceptToMemoryPool(const Config &config, CTxMemPool &pool, | ||||
▲ Show 20 Lines • Show All 293 Lines • Show Last 20 Lines |