| 201 | } |
| 202 | |
| 203 | bool CCoinsViewCache::Flush() { |
| 204 | bool fOk = base->BatchWrite(cacheCoins, hashBlock); |
| 205 | cacheCoins.clear(); |
| 206 | cachedCoinsUsage = 0; |
| 207 | return fOk; |
| 208 | } |
| 209 | |
| 210 | void CCoinsViewCache::Uncache(const COutPoint& hash) |
| 211 | { |
no test coverage detected