aboutsummaryrefslogtreecommitdiff
path: root/src/txdb.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2013-10-13 22:15:48 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2013-11-01 00:54:28 +0100
commit85eb2cef33fcf3e5c785d54b172eb3e8f932e3cb (patch)
tree39a1d1c94bb791552ae8f9810767efedc3e84107 /src/txdb.h
parentede3ee3348ecaeed04dec587171e732ebc0830fd (diff)
downloadbitcoin-85eb2cef33fcf3e5c785d54b172eb3e8f932e3cb.tar.xz
Do not use the redundant BestInvalidWork record in the block database.
As block index entries have a flag for marking invalid blocks, the 'best invalid work' information can be derived from there. In addition, remove the global from main.h
Diffstat (limited to 'src/txdb.h')
-rw-r--r--src/txdb.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/txdb.h b/src/txdb.h
index e3560a9c5c..b555be3de7 100644
--- a/src/txdb.h
+++ b/src/txdb.h
@@ -35,7 +35,6 @@ private:
void operator=(const CBlockTreeDB&);
public:
bool WriteBlockIndex(const CDiskBlockIndex& blockindex);
- bool ReadBestInvalidWork(CBigNum& bnBestInvalidWork);
bool WriteBestInvalidWork(const CBigNum& bnBestInvalidWork);
bool ReadBlockFileInfo(int nFile, CBlockFileInfo &fileinfo);
bool WriteBlockFileInfo(int nFile, const CBlockFileInfo &fileinfo);