aboutsummaryrefslogtreecommitdiff
path: root/src/db.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@exmulti.com>2012-05-15 13:36:25 -0400
committerJeff Garzik <jgarzik@redhat.com>2012-05-15 13:36:25 -0400
commita7d45c5a7a46255631bb4814c3df27c3489ff3a0 (patch)
tree311bec68bdfc528d1c0923e2b6e8fd3a988705f7 /src/db.h
parent790fe2e558d93572f87b7f4117a54d899903c5bf (diff)
downloadbitcoin-a7d45c5a7a46255631bb4814c3df27c3489ff3a0.tar.xz
Remove dead code: CTxDB::EraseBlockIndex(), CBlockIndex::EraseBlockFromDisk()
Diffstat (limited to 'src/db.h')
-rw-r--r--src/db.h1
1 files changed, 0 insertions, 1 deletions
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);