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

Method CheckpointLSN

src/wallet/db.cpp:437–443  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

435
436
437void BerkeleyEnvironment::CheckpointLSN(const std::string& strFile)
438{
439 dbenv->txn_checkpoint(0, 0, 0);
440 if (fMockDb)
441 return;
442 dbenv->lsn_reset(strFile.c_str(), 0);
443}
444
445
446BerkeleyBatch::BerkeleyBatch(BerkeleyDatabase& database, const char* pszMode, bool fFlushOnCloseIn) : pdb(nullptr), activeTxn(nullptr)

Callers 3

RewriteMethod · 0.80
PeriodicFlushMethod · 0.80
BackupMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected