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