MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / CVerifyDB

Class CVerifyDB

src/validation.h:430–435  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

428
429/** RAII wrapper for VerifyDB: Verify consistency of the block and coin databases */
430class CVerifyDB {
431public:
432 CVerifyDB();
433 ~CVerifyDB();
434 bool VerifyDB(const CChainParams& chainparams, CCoinsView *coinsview, int nCheckLevel, int nCheckDepth);
435};
436
437/** Replay blocks that aren't fully applied to the database. */
438bool ReplayBlocks(const CChainParams& params, CCoinsView* view);

Callers 2

AppInitMainFunction · 0.85
verifychainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected