diff options
author | Jeff Garzik <jgarzik@exmulti.com> | 2012-05-15 13:36:25 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2012-05-15 13:36:25 -0400 |
commit | a7d45c5a7a46255631bb4814c3df27c3489ff3a0 (patch) | |
tree | 311bec68bdfc528d1c0923e2b6e8fd3a988705f7 /src/db.cpp | |
parent | 790fe2e558d93572f87b7f4117a54d899903c5bf (diff) |
Remove dead code: CTxDB::EraseBlockIndex(), CBlockIndex::EraseBlockFromDisk()
Diffstat (limited to 'src/db.cpp')
-rw-r--r-- | src/db.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/db.cpp b/src/db.cpp index 5bd0528202..ecf31de433 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); |