From 145d5be896db4e8fda17039bed26100e38fae2f0 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Thu, 4 Sep 2014 02:02:44 +0200 Subject: Introduce BlockMap type for mapBlockIndex --- src/main.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main.h') diff --git a/src/main.h b/src/main.h index d38d033d2..da2b5cac8 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 mapBlockIndex; +typedef std::map BlockMap; +extern BlockMap mapBlockIndex; extern uint64_t nLastBlockTx; extern uint64_t nLastBlockSize; extern const std::string strMessageMagic; -- cgit v1.2.3