Bitcoin Core  0.15.99
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 250 of file txmempool.h.

Member Function Documentation

◆ operator()()

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

Definition at line 253 of file txmempool.h.

Here is the call graph for this function:

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