We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 382c871 commit 8cc9cfeCopy full SHA for 8cc9cfe
src/txmempool.h
@@ -17,6 +17,7 @@
17
#undef foreach
18
#include "boost/multi_index_container.hpp"
19
#include "boost/multi_index/ordered_index.hpp"
20
+#include "boost/multi_index/hashed_index.hpp"
21
22
class CAutoFile;
23
class CBlockIndex;
@@ -422,7 +423,7 @@ class CTxMemPool
422
423
CTxMemPoolEntry,
424
boost::multi_index::indexed_by<
425
// sorted by txid
- boost::multi_index::ordered_unique<mempoolentry_txid>,
426
+ boost::multi_index::hashed_unique<mempoolentry_txid, SaltedTxidHasher>,
427
// sorted by fee rate
428
boost::multi_index::ordered_non_unique<
429
boost::multi_index::tag<descendant_score>,
0 commit comments