|
|
@ -287,7 +287,6 @@ public: |
|
|
|
// Multi_index tag names
|
|
|
|
// Multi_index tag names
|
|
|
|
struct descendant_score {}; |
|
|
|
struct descendant_score {}; |
|
|
|
struct entry_time {}; |
|
|
|
struct entry_time {}; |
|
|
|
struct mining_score {}; |
|
|
|
|
|
|
|
struct ancestor_score {}; |
|
|
|
struct ancestor_score {}; |
|
|
|
|
|
|
|
|
|
|
|
class CBlockPolicyEstimator; |
|
|
|
class CBlockPolicyEstimator; |
|
|
@ -356,7 +355,6 @@ public: |
|
|
|
* - transaction hash |
|
|
|
* - transaction hash |
|
|
|
* - feerate [we use max(feerate of tx, feerate of tx with all descendants)] |
|
|
|
* - feerate [we use max(feerate of tx, feerate of tx with all descendants)] |
|
|
|
* - time in mempool |
|
|
|
* - 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 |
|
|
|
* Note: the term "descendant" refers to in-mempool transactions that depend on |
|
|
|
* this one, while "ancestor" refers to in-mempool transactions that a given |
|
|
|
* this one, while "ancestor" refers to in-mempool transactions that a given |
|
|
@ -446,12 +444,6 @@ public: |
|
|
|
boost::multi_index::identity<CTxMemPoolEntry>, |
|
|
|
boost::multi_index::identity<CTxMemPoolEntry>, |
|
|
|
CompareTxMemPoolEntryByEntryTime |
|
|
|
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
|
|
|
|
// sorted by fee rate with ancestors
|
|
|
|
boost::multi_index::ordered_non_unique< |
|
|
|
boost::multi_index::ordered_non_unique< |
|
|
|
boost::multi_index::tag<ancestor_score>, |
|
|
|
boost::multi_index::tag<ancestor_score>, |
|
|
|