Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 659 Lines • ▼ Show 20 Lines | |||||
bool InvalidateBlock(const Config &config, CValidationState &state, | bool InvalidateBlock(const Config &config, CValidationState &state, | ||||
CBlockIndex *pindex); | CBlockIndex *pindex); | ||||
/** Park a block. */ | /** Park a block. */ | ||||
bool ParkBlock(const Config &config, CValidationState &state, | bool ParkBlock(const Config &config, CValidationState &state, | ||||
CBlockIndex *pindex); | CBlockIndex *pindex); | ||||
/** Remove invalidity status from a block and its descendants. */ | /** Remove invalidity status from a block and its descendants. */ | ||||
bool ResetBlockFailureFlags(CBlockIndex *pindex); | void ResetBlockFailureFlags(CBlockIndex *pindex); | ||||
/** Remove parked status from a block and its descendants. */ | /** Remove parked status from a block and its descendants. */ | ||||
bool UnparkBlockAndChildren(CBlockIndex *pindex); | void UnparkBlockAndChildren(CBlockIndex *pindex); | ||||
/** Remove parked status from a block. */ | /** Remove parked status from a block. */ | ||||
bool UnparkBlock(CBlockIndex *pindex); | void UnparkBlock(CBlockIndex *pindex); | ||||
/** | /** | ||||
* Retrieve the topmost finalized block. | * Retrieve the topmost finalized block. | ||||
*/ | */ | ||||
const CBlockIndex *GetFinalizedBlock(); | const CBlockIndex *GetFinalizedBlock(); | ||||
/** | /** | ||||
* Checks if a block is finalized. | * Checks if a block is finalized. | ||||
▲ Show 20 Lines • Show All 56 Lines • Show Last 20 Lines |