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

Method Flush

src/coins.cpp:323–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321}
322
323bool CCoinsViewCache::Flush() {
324 bool fOk = base->BatchWrite(cacheCoins, hashBlock);
325 cacheCoins.clear();
326 cachedCoinsUsage = 0;
327 return fOk;
328}
329
330void CCoinsViewCache::Uncache(const COutPoint& point)
331{

Callers 7

ShutdownFunction · 0.45
FlushStateToDiskMethod · 0.45
DisconnectTipMethod · 0.45
ConnectTipMethod · 0.45
ReplayBlocksMethod · 0.45
FlushSnapshotToDiskFunction · 0.45
GCSFilterMethod · 0.45

Calls 2

BatchWriteMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected