| \class CompareTxMemPoolEntryByAncestorScore
|
| Sort an entry by min(score/size of entry’s
| tx, score/size with all ancestors).
|
| \class CompareTxMemPoolEntryByDescendantScore
|
| Sort an entry by max(score/size of entry’s
| tx, score/size with all descendants).
|
| \class CompareTxMemPoolEntryByScore
|
| Sort by feerate of entry (fee/size)
| in descending order
|
| This is only used for transaction relay,
| so we use GetFee() instead of GetModifiedFee()
| to avoid leaking prioritization information
| via the sort order.
|
| \class TxMemPoolEntry
|
| TxMemPoolEntry stores data about
| the corresponding transaction, as
| well as data about all in-mempool transactions
| that depend on the transaction (“descendant”
| transactions).
|
| When a new entry is added to the mempool,
| we update the descendant state (nCountWithDescendants,
| nSizeWithDescendants, and nModFeesWithDescendants)
| for all ancestors of the newly added
| transaction.
|