Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | List of all members
CompareTxMemPoolEntryByScore Class Reference

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. More...

#include <txmempool.h>

Public Member Functions

bool operator() (const CTxMemPoolEntry &a, const CTxMemPoolEntry &b) const
 

Detailed Description

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.

Definition at line 136 of file txmempool.h.

Member Function Documentation

◆ operator()()

bool CompareTxMemPoolEntryByScore::operator() ( const CTxMemPoolEntry a,
const CTxMemPoolEntry b 
) const
inline

Definition at line 139 of file txmempool.h.

Here is the call graph for this function:

The documentation for this class was generated from the following file: