Skip to content

Commit e6756ad

Browse files
committed
Switch CCoinsMap from boost to std unordered_map
1 parent 344a2c4 commit e6756ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/coins.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include <stdint.h>
1919

2020
#include <boost/foreach.hpp>
21-
#include <boost/unordered_map.hpp>
21+
#include <unordered_map>
2222

2323
/**
2424
* Pruned version of CTransaction: only retains metadata and unspent transaction outputs
@@ -280,7 +280,7 @@ struct CCoinsCacheEntry
280280
CCoinsCacheEntry() : coins(), flags(0) {}
281281
};
282282

283-
typedef boost::unordered_map<uint256, CCoinsCacheEntry, SaltedTxidHasher> CCoinsMap;
283+
typedef std::unordered_map<uint256, CCoinsCacheEntry, SaltedTxidHasher> CCoinsMap;
284284

285285
/** Cursor for iterating over CoinsView state */
286286
class CCoinsViewCursor

0 commit comments

Comments
 (0)