| 245 | } |
| 246 | |
| 247 | void CCoinsViewCache::SetBestBlock(const uint256 &hashBlockIn) { |
| 248 | hashBlock = hashBlockIn; |
| 249 | } |
| 250 | |
| 251 | bool CCoinsViewCache::BatchWrite(CCoinsMap &mapCoins, const uint256 &hashBlockIn) { |
| 252 | for (CCoinsMap::iterator it = mapCoins.begin(); it != mapCoins.end(); it = mapCoins.erase(it)) { |
no outgoing calls