Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 466 Lines • ▼ Show 20 Lines | void swap(CScriptCheck &check) { | ||||
std::swap(pBlockLimitSigChecks, check.pBlockLimitSigChecks); | std::swap(pBlockLimitSigChecks, check.pBlockLimitSigChecks); | ||||
} | } | ||||
ScriptError GetScriptError() const { return error; } | ScriptError GetScriptError() const { return error; } | ||||
ScriptExecutionMetrics GetScriptExecutionMetrics() const { return metrics; } | ScriptExecutionMetrics GetScriptExecutionMetrics() const { return metrics; } | ||||
}; | }; | ||||
bool UndoReadFromDisk(CBlockUndo &blockundo, const CBlockIndex *pindex); | |||||
/** Functions for validating blocks and updating the block tree */ | /** Functions for validating blocks and updating the block tree */ | ||||
/** | /** | ||||
* Context-independent validity checks. | * Context-independent validity checks. | ||||
* | * | ||||
* Returns true if the provided block is valid (has valid header, | * Returns true if the provided block is valid (has valid header, | ||||
* transactions are valid, block is a valid size, etc.) | * transactions are valid, block is a valid size, etc.) | ||||
*/ | */ | ||||
▲ Show 20 Lines • Show All 852 Lines • Show Last 20 Lines |