|
|
|
@ -398,9 +398,6 @@ public:
|
|
|
|
|
bool VerifyDB(const CChainParams& chainparams, CCoinsView *coinsview, int nCheckLevel, int nCheckDepth);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/** Replay blocks that aren't fully applied to the database. */
|
|
|
|
|
bool ReplayBlocks(const CChainParams& params, CCoinsView* view);
|
|
|
|
|
|
|
|
|
|
CBlockIndex* LookupBlockIndex(const uint256& hash) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
|
|
|
|
|
|
|
|
|
|
/** Find the last common block between the parameter chain and a locator. */
|
|
|
|
@ -701,7 +698,8 @@ public:
|
|
|
|
|
bool InvalidateBlock(CValidationState& state, const CChainParams& chainparams, CBlockIndex* pindex) LOCKS_EXCLUDED(cs_main);
|
|
|
|
|
void ResetBlockFailureFlags(CBlockIndex* pindex) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
|
|
|
|
|
|
|
|
|
|
bool ReplayBlocks(const CChainParams& params, CCoinsView* view);
|
|
|
|
|
/** Replay blocks that aren't fully applied to the database. */
|
|
|
|
|
bool ReplayBlocks(const CChainParams& params);
|
|
|
|
|
bool RewindBlockIndex(const CChainParams& params) LOCKS_EXCLUDED(cs_main);
|
|
|
|
|
bool LoadGenesisBlock(const CChainParams& chainparams);
|
|
|
|
|
|
|
|
|
|