aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2014-09-04 02:02:44 +0200
committerPieter Wuille <pieter.wuille@gmail.com>2014-09-04 02:04:51 +0200
commit145d5be896db4e8fda17039bed26100e38fae2f0 (patch)
tree82c0a250144990617038c84d10e71b6fa905ecc5 /src/main.h
parenta0dbe433bdb3f22be639fbb675c371277fba6d80 (diff)
downloadbitcoin-145d5be896db4e8fda17039bed26100e38fae2f0.tar.xz
Introduce BlockMap type for mapBlockIndex
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h3
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;