aboutsummaryrefslogtreecommitdiff
path: root/src/validation.h
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2017-06-07 15:04:38 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2017-06-07 15:04:54 +0200
commit246a02fb14953a8d2c5b72329aebcda787a96c8c (patch)
treea7f4a4d4c29c1dbc4f58b997b61acdee96274146 /src/validation.h
parent1b708f2cf3e6e6a17c5b6dbf2909a2ed2e35755a (diff)
downloadbitcoin-246a02fb14953a8d2c5b72329aebcda787a96c8c.tar.xz
Use std::unordered_{map,set} (C++11) instead of boost::unordered_{map,set}
Diffstat (limited to 'src/validation.h')
-rw-r--r--src/validation.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/validation.h b/src/validation.h
index 3a7f7cf1bc..0f410530fb 100644
--- a/src/validation.h
+++ b/src/validation.h
@@ -30,8 +30,6 @@
#include <atomic>
-#include <boost/unordered_map.hpp>
-
class CBlockIndex;
class CBlockTreeDB;
class CBloomFilter;
@@ -161,7 +159,7 @@ extern CScript COINBASE_FLAGS;
extern CCriticalSection cs_main;
extern CBlockPolicyEstimator feeEstimator;
extern CTxMemPool mempool;
-typedef boost::unordered_map<uint256, CBlockIndex*, BlockHasher> BlockMap;
+typedef std::unordered_map<uint256, CBlockIndex*, BlockHasher> BlockMap;
extern BlockMap mapBlockIndex;
extern uint64_t nLastBlockTx;
extern uint64_t nLastBlockSize;