Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 405 Lines • ▼ Show 20 Lines | |||||
/** Prune block files up to a given height */ | /** Prune block files up to a given height */ | ||||
void PruneBlockFilesManual(int nManualPruneHeight); | 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 *pfMissingInputs, bool bypass_limits, | bool bypass_limits, const Amount nAbsurdFee, | ||||
const Amount nAbsurdFee, bool test_accept = false) | bool test_accept = false) | ||||
EXCLUSIVE_LOCKS_REQUIRED(cs_main); | EXCLUSIVE_LOCKS_REQUIRED(cs_main); | ||||
/** | /** | ||||
* Simple class for regulating resource usage during CheckInputs (and | * Simple class for regulating resource usage during CheckInputs (and | ||||
* CScriptCheck), atomic so as to be compatible with parallel validation. | * CScriptCheck), atomic so as to be compatible with parallel validation. | ||||
*/ | */ | ||||
class CheckInputsLimiter { | class CheckInputsLimiter { | ||||
protected: | protected: | ||||
▲ Show 20 Lines • Show All 583 Lines • Show Last 20 Lines |