Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 502 Lines • ▼ Show 20 Lines | bool CheckInputs(const CTransaction &tx, CValidationState &state, | ||||
std::vector<CScriptCheck> *pvChecks = nullptr, | std::vector<CScriptCheck> *pvChecks = nullptr, | ||||
CheckInputsLimiter *pLimitSigChecks = nullptr) | CheckInputsLimiter *pLimitSigChecks = nullptr) | ||||
EXCLUSIVE_LOCKS_REQUIRED(cs_main); | EXCLUSIVE_LOCKS_REQUIRED(cs_main); | ||||
/** Get the BIP9 state for a given deployment at the current tip. */ | /** Get the BIP9 state for a given deployment at the current tip. */ | ||||
ThresholdState VersionBitsTipState(const Consensus::Params ¶ms, | ThresholdState VersionBitsTipState(const Consensus::Params ¶ms, | ||||
Consensus::DeploymentPos pos); | Consensus::DeploymentPos pos); | ||||
/** Get the BIP9 state for a given deployment at a given block. */ | |||||
ThresholdState VersionBitsBlockState(const Consensus::Params ¶ms, | |||||
Consensus::DeploymentPos pos, | |||||
const CBlockIndex *pindex); | |||||
/** | /** | ||||
* Get the numerical statistics for the BIP9 state for a given deployment at the | * Get the numerical statistics for the BIP9 state for a given deployment at the | ||||
* current tip. | * current tip. | ||||
*/ | */ | ||||
BIP9Stats VersionBitsTipStatistics(const Consensus::Params ¶ms, | BIP9Stats VersionBitsTipStatistics(const Consensus::Params ¶ms, | ||||
Consensus::DeploymentPos pos); | Consensus::DeploymentPos pos); | ||||
/** | /** | ||||
▲ Show 20 Lines • Show All 260 Lines • Show Last 20 Lines |