Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 638 Lines • ▼ Show 20 Lines | |||||
/** | /** | ||||
* Context dependent validity checks for non coinbase transactions. This | * Context dependent validity checks for non coinbase transactions. This | ||||
* doesn't check the validity of the transaction against the UTXO set, but | * doesn't check the validity of the transaction against the UTXO set, but | ||||
* simply characteristic that are suceptible to change over time such as feature | * simply characteristic that are suceptible to change over time such as feature | ||||
* activation/deactivation and CLTV. | * activation/deactivation and CLTV. | ||||
*/ | */ | ||||
bool ContextualCheckTransaction(const Config &config, const CTransaction &tx, | bool ContextualCheckTransaction(const Config &config, const CTransaction &tx, | ||||
CValidationState &state, int nHeight, | CValidationState &state, int nHeight, | ||||
int64_t nLockTimeCutoff); | int64_t nLockTimeCutoff, | ||||
int64_t nMedianTimePast); | |||||
/** | /** | ||||
* This is a variant of ContextualCheckTransaction which computes the contextual | * This is a variant of ContextualCheckTransaction which computes the contextual | ||||
* check for a transaction based on the chain tip. | * check for a transaction based on the chain tip. | ||||
* | * | ||||
* See consensus/consensus.h for flag definitions. | * See consensus/consensus.h for flag definitions. | ||||
*/ | */ | ||||
bool ContextualCheckTransactionForCurrentBlock(const Config &config, | bool ContextualCheckTransactionForCurrentBlock(const Config &config, | ||||
▲ Show 20 Lines • Show All 106 Lines • Show Last 20 Lines |