Remove dead code: CTxDB::EraseBlockIndex(), CBlockIndex::EraseBlockFromDisk()

This commit is contained in:
Jeff Garzik
2012-05-15 13:36:25 -04:00
committed by Jeff Garzik
parent 790fe2e558
commit a7d45c5a7a
3 changed files with 0 additions and 21 deletions

View File

@@ -463,11 +463,6 @@ bool CTxDB::WriteBlockIndex(const CDiskBlockIndex& blockindex)
return Write(make_pair(string("blockindex"), blockindex.GetBlockHash()), blockindex);
}
bool CTxDB::EraseBlockIndex(uint256 hash)
{
return Erase(make_pair(string("blockindex"), hash));
}
bool CTxDB::ReadHashBestChain(uint256& hashBestChain)
{
return Read(string("hashBestChain"), hashBestChain);