From a7d45c5a7a46255631bb4814c3df27c3489ff3a0 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Tue, 15 May 2012 13:36:25 -0400 Subject: Remove dead code: CTxDB::EraseBlockIndex(), CBlockIndex::EraseBlockFromDisk() --- src/db.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/db.h') diff --git a/src/db.h b/src/db.h index 3ce8f1758f..db8ae8f274 100644 --- a/src/db.h +++ b/src/db.h @@ -285,7 +285,6 @@ public: bool ReadDiskTx(COutPoint outpoint, CTransaction& tx, CTxIndex& txindex); bool ReadDiskTx(COutPoint outpoint, CTransaction& tx); bool WriteBlockIndex(const CDiskBlockIndex& blockindex); - bool EraseBlockIndex(uint256 hash); bool ReadHashBestChain(uint256& hashBestChain); bool WriteHashBestChain(uint256 hashBestChain); bool ReadBestInvalidWork(CBigNum& bnBestInvalidWork); -- cgit v1.2.3