Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 574 Lines • ▼ Show 20 Lines | bool CheckBlock( | ||||
BlockValidationOptions validationOptions = BlockValidationOptions()); | BlockValidationOptions validationOptions = BlockValidationOptions()); | ||||
/** | /** | ||||
* 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 Consensus::Params ¶ms, | ||||
const CTransaction &tx, | const CTransaction &tx, | ||||
CValidationState &state, | CValidationState &state, | ||||
int flags = -1); | int flags = -1); | ||||
/** | /** | ||||
* Check a block is completely valid from start to finish (only works on top of | * Check a block is completely valid from start to finish (only works on top of | ||||
* our current best block, with cs_main held) | * our current best block, with cs_main held) | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 128 Lines • Show Last 20 Lines |