MCPcopy Create free account
hub / github.com/ElementsProject/elements / CVerifyDB

Class CVerifyDB

src/validation.h:371–381  ·  view source on GitHub ↗

RAII wrapper for VerifyDB: Verify consistency of the block and coin databases */

Source from the content-addressed store, hash-verified

369
370/** RAII wrapper for VerifyDB: Verify consistency of the block and coin databases */
371class CVerifyDB {
372public:
373 CVerifyDB();
374 ~CVerifyDB();
375 bool VerifyDB(
376 CChainState& chainstate,
377 const Consensus::Params& consensus_params,
378 CCoinsView& coinsview,
379 int nCheckLevel,
380 int nCheckDepth) EXCLUSIVE_LOCKS_REQUIRED(cs_main);
381};
382
383enum DisconnectResult
384{

Callers 2

verifychainFunction · 0.85
VerifyLoadedChainstateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected