aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.h
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2018-01-03 12:00:11 -0500
committerSuhas Daftuar <sdaftuar@gmail.com>2018-01-09 08:59:21 -0500
commit8e617e3708e0e4d42d586531450a21ae70aecf63 (patch)
treebe3d92f8474b6ab6897703b94133e687b96a1c1e /src/txmempool.h
parentc991b304dee368f506cfee27ddaa333f1f82c518 (diff)
downloadbitcoin-8e617e3708e0e4d42d586531450a21ae70aecf63.tar.xz
Remove unused mempool index
Diffstat (limited to 'src/txmempool.h')
-rw-r--r--src/txmempool.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/txmempool.h b/src/txmempool.h
index 512e70f8fa..ad0249c9a2 100644
--- a/src/txmempool.h
+++ b/src/txmempool.h
@@ -287,7 +287,6 @@ public:
// Multi_index tag names
struct descendant_score {};
struct entry_time {};
-struct mining_score {};
struct ancestor_score {};
class CBlockPolicyEstimator;
@@ -356,7 +355,6 @@ public:
* - transaction hash
* - feerate [we use max(feerate of tx, feerate of tx with all descendants)]
* - time in mempool
- * - mining score (feerate modified by any fee deltas from PrioritiseTransaction)
*
* Note: the term "descendant" refers to in-mempool transactions that depend on
* this one, while "ancestor" refers to in-mempool transactions that a given
@@ -446,12 +444,6 @@ public:
boost::multi_index::identity<CTxMemPoolEntry>,
CompareTxMemPoolEntryByEntryTime
>,
- // sorted by score (for mining prioritization)
- boost::multi_index::ordered_unique<
- boost::multi_index::tag<mining_score>,
- boost::multi_index::identity<CTxMemPoolEntry>,
- CompareTxMemPoolEntryByScore
- >,
// sorted by fee rate with ancestors
boost::multi_index::ordered_non_unique<
boost::multi_index::tag<ancestor_score>,