diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2013-10-13 22:15:48 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2013-11-01 00:54:28 +0100 |
commit | 85eb2cef33fcf3e5c785d54b172eb3e8f932e3cb (patch) | |
tree | 39a1d1c94bb791552ae8f9810767efedc3e84107 /src/main.h | |
parent | ede3ee3348ecaeed04dec587171e732ebc0830fd (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.h | 1 |
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; |