| 128 | } |
| 129 | |
| 130 | bool CCoinsViewCache::HaveCoinInCache(const COutPoint &outpoint) const { |
| 131 | CCoinsMap::const_iterator it = cacheCoins.find(outpoint); |
| 132 | return (it != cacheCoins.end() && !it->second.coin.IsSpent()); |
| 133 | } |
| 134 | |
| 135 | uint256 CCoinsViewCache::GetBestBlock() const { |
| 136 | if (hashBlock.IsNull()) |