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

Method CheckpointLSN

src/wallet/db.cpp:232–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230
231
232void CDBEnv::CheckpointLSN(const std::string& strFile)
233{
234 dbenv->txn_checkpoint(0, 0, 0);
235 if (fMockDb)
236 return;
237 dbenv->lsn_reset(strFile.c_str(), 0);
238}
239
240
241CDB::CDB(const std::string& strFilename, const char* pszMode, bool fFlushOnCloseIn) : pdb(NULL), activeTxn(NULL)

Callers 3

RewriteMethod · 0.80
ThreadFlushWalletDBFunction · 0.80
BackupWalletFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected