Changeset View
Changeset View
Standalone View
Standalone View
src/validation.h
Show First 20 Lines • Show All 623 Lines • ▼ Show 20 Lines | |||||
*/ | */ | ||||
bool PreciousBlock(const Config &config, CValidationState &state, | bool PreciousBlock(const Config &config, CValidationState &state, | ||||
CBlockIndex *pindex); | CBlockIndex *pindex); | ||||
/** Mark a block as invalid. */ | /** Mark a block as invalid. */ | ||||
bool InvalidateBlock(const Config &config, CValidationState &state, | bool InvalidateBlock(const Config &config, CValidationState &state, | ||||
CBlockIndex *pindex); | CBlockIndex *pindex); | ||||
/** Park a block. */ | |||||
bool ParkBlock(const Config &config, CValidationState &state, | |||||
CBlockIndex *pindex); | |||||
/** Remove invalidity status from a block and its descendants. */ | /** Remove invalidity status from a block and its descendants. */ | ||||
bool ResetBlockFailureFlags(CBlockIndex *pindex); | bool ResetBlockFailureFlags(CBlockIndex *pindex); | ||||
/** Remove parked status from a block and its descendants. */ | |||||
bool UnparkBlock(CBlockIndex *pindex); | |||||
/** The currently-connected chain of blocks (protected by cs_main). */ | /** The currently-connected chain of blocks (protected by cs_main). */ | ||||
extern CChain chainActive; | extern CChain chainActive; | ||||
/** | /** | ||||
* Global variable that points to the coins database (protected by cs_main) | * Global variable that points to the coins database (protected by cs_main) | ||||
*/ | */ | ||||
extern std::unique_ptr<CCoinsViewDB> pcoinsdbview; | extern std::unique_ptr<CCoinsViewDB> pcoinsdbview; | ||||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |