Browse Source

Switch CCoinsMap from boost to std unordered_map

0.15
Pieter Wuille 8 years ago
parent
commit
e6756ad335
  1. 4
      src/coins.h

4
src/coins.h

@ -18,7 +18,7 @@ @@ -18,7 +18,7 @@
#include <stdint.h>
#include <boost/foreach.hpp>
#include <boost/unordered_map.hpp>
#include <unordered_map>
/**
* Pruned version of CTransaction: only retains metadata and unspent transaction outputs
@ -280,7 +280,7 @@ struct CCoinsCacheEntry @@ -280,7 +280,7 @@ struct CCoinsCacheEntry
CCoinsCacheEntry() : coins(), flags(0) {}
};
typedef boost::unordered_map<uint256, CCoinsCacheEntry, SaltedTxidHasher> CCoinsMap;
typedef std::unordered_map<uint256, CCoinsCacheEntry, SaltedTxidHasher> CCoinsMap;
/** Cursor for iterating over CoinsView state */
class CCoinsViewCursor

Loading…
Cancel
Save