diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2014-09-04 02:02:44 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2014-09-04 02:04:51 +0200 |
commit | 145d5be896db4e8fda17039bed26100e38fae2f0 (patch) | |
tree | 82c0a250144990617038c84d10e71b6fa905ecc5 /src/main.h | |
parent | a0dbe433bdb3f22be639fbb675c371277fba6d80 (diff) | |
download | bitcoin-145d5be896db4e8fda17039bed26100e38fae2f0.tar.xz |
Introduce BlockMap type for mapBlockIndex
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h index d38d033d2c..da2b5cac81 100644 --- a/src/main.h +++ b/src/main.h @@ -85,7 +85,8 @@ static const unsigned char REJECT_CHECKPOINT = 0x43; extern CScript COINBASE_FLAGS; extern CCriticalSection cs_main; extern CTxMemPool mempool; -extern std::map<uint256, CBlockIndex*> mapBlockIndex; +typedef std::map<uint256, CBlockIndex*> BlockMap; +extern BlockMap mapBlockIndex; extern uint64_t nLastBlockTx; extern uint64_t nLastBlockSize; extern const std::string strMessageMagic; |