aboutsummaryrefslogtreecommitdiff
path: root/src/main.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/main.h
parentede3ee3348ecaeed04dec587171e732ebc0830fd (diff)
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/main.h')
-rw-r--r--src/main.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index b56a4a5e19..77e4792691 100644
--- a/src/main.h
+++ b/src/main.h
@@ -74,7 +74,6 @@ extern CScript COINBASE_FLAGS;
extern CCriticalSection cs_main;
extern std::map<uint256, CBlockIndex*> mapBlockIndex;
extern std::set<CBlockIndex*, CBlockIndexWorkComparator> setBlockIndexValid;
-extern uint256 nBestInvalidWork;
extern unsigned int nTransactionsUpdated;
extern uint64 nLastBlockTx;
extern uint64 nLastBlockSize;