MCPcopy Create free account
hub / github.com/LUX-Core/lux / Flush

Method Flush

src/coins.cpp:266–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

264}
265
266bool CCoinsViewCache::Flush()
267{
268 bool fOk = base->BatchWrite(cacheCoins, hashBlock);
269 cacheCoins.clear();
270 cachedCoinsUsage = 0;
271 return fOk;
272}
273
274void CCoinsViewCache::Uncache(const uint256& hash)
275{

Callers

nothing calls this directly

Calls 2

BatchWriteMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected