diff options
author | Jeff Garzik <jgarzik@exmulti.com> | 2012-05-17 08:47:54 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@exmulti.com> | 2012-05-17 08:47:54 -0700 |
commit | d17ac27a727a7a942aea6c5d8b549e4ce56f34a7 (patch) | |
tree | 9a60cf439ec96e9b06e3b59d689a3b0bf794c34a /src/db.cpp | |
parent | b56843b25356784d6806b2cdd6506bfb2e066445 (diff) | |
parent | a7d45c5a7a46255631bb4814c3df27c3489ff3a0 (diff) |
Merge pull request #1316 from jgarzik/dead-code
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 5b36a8f1f5..4c38873eed 100644 --- a/src/db.cpp +++ b/src/db.cpp @@ -461,11 +461,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); |