|
|
|
@ -287,7 +287,6 @@ public:
@@ -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:
@@ -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:
@@ -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>, |
|
|
|
|