diff options
| author | Pieter Wuille <[email protected]> | 2013-10-13 22:15:48 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2013-11-01 00:54:28 +0100 |
| commit | 85eb2cef33fcf3e5c785d54b172eb3e8f932e3cb (patch) | |
| tree | 39a1d1c94bb791552ae8f9810767efedc3e84107 /src/txdb.h | |
| parent | Merge pull request #3159 (diff) | |
| download | discoin-85eb2cef33fcf3e5c785d54b172eb3e8f932e3cb.tar.xz discoin-85eb2cef33fcf3e5c785d54b172eb3e8f932e3cb.zip | |
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.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/txdb.h b/src/txdb.h index e3560a9c5..b555be3de 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); |