| 68 | } |
| 69 | |
| 70 | uint256 CCoinsViewDB::GetBestBlock() const |
| 71 | { |
| 72 | uint256 hashBestChain; |
| 73 | if (!db.Read(DB_BEST_BLOCK, hashBestChain)) |
| 74 | return uint256(0); |
| 75 | return hashBestChain; |
| 76 | } |
| 77 | |
| 78 | bool CCoinsViewDB::BatchWrite(CCoinsMap& mapCoins, const uint256& hashBlock) |
| 79 | { |
no test coverage detected