diff options
| author | Suhas Daftuar <[email protected]> | 2018-01-03 12:00:11 -0500 |
|---|---|---|
| committer | Suhas Daftuar <[email protected]> | 2018-01-09 08:59:21 -0500 |
| commit | 8e617e3708e0e4d42d586531450a21ae70aecf63 (patch) | |
| tree | be3d92f8474b6ab6897703b94133e687b96a1c1e /src/txmempool.h | |
| parent | Merge #12075: [scripts] Add missing univalue file to copyright_header.py (diff) | |
| download | discoin-8e617e3708e0e4d42d586531450a21ae70aecf63.tar.xz discoin-8e617e3708e0e4d42d586531450a21ae70aecf63.zip | |
Remove unused mempool index
Diffstat (limited to 'src/txmempool.h')
| -rw-r--r-- | src/txmempool.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/txmempool.h b/src/txmempool.h index 512e70f8f..ad0249c9a 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>, |