Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 368 Lines • ▼ Show 20 Lines | |||||
/** 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 is UAHF has activated. */ | ||||
bool IsUAHFenabled(const Config &config, const CBlockIndex *pindexPrev); | bool IsUAHFenabled(const Config &config, const CBlockIndex *pindexPrev); | ||||
/** Check is Cash HF has activated. */ | |||||
bool IsCashHFEnabled(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 mempool | * plTxnReplaced will be appended to with all transactions replaced from mempool | ||||
* **/ | * **/ | ||||
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, | ||||
std::list<CTransactionRef> *plTxnReplaced = nullptr, | std::list<CTransactionRef> *plTxnReplaced = nullptr, | ||||
bool fOverrideMempoolLimit = false, | bool fOverrideMempoolLimit = false, | ||||
▲ Show 20 Lines • Show All 300 Lines • Show Last 20 Lines |