aboutsummaryrefslogtreecommitdiff
path: root/src/db.cpp
diff options
context:
space:
mode:
authorJeff Garzik <[email protected]>2012-05-15 13:36:25 -0400
committerJeff Garzik <[email protected]>2012-05-15 13:36:25 -0400
commita7d45c5a7a46255631bb4814c3df27c3489ff3a0 (patch)
tree311bec68bdfc528d1c0923e2b6e8fd3a988705f7 /src/db.cpp
parentMerge pull request #1308 from Diapolo/polish_verifymessage (diff)
downloaddiscoin-a7d45c5a7a46255631bb4814c3df27c3489ff3a0.tar.xz
discoin-a7d45c5a7a46255631bb4814c3df27c3489ff3a0.zip
Remove dead code: CTxDB::EraseBlockIndex(), CBlockIndex::EraseBlockFromDisk()
Diffstat (limited to 'src/db.cpp')
-rw-r--r--src/db.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/db.cpp b/src/db.cpp
index 5bd052820..ecf31de43 100644
--- a/src/db.cpp
+++ b/src/db.cpp
@@ -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);