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

#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 296 of file txmempool.h.

Member Function Documentation

◆ operator()()

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

Definition at line 299 of file txmempool.h.

Here is the call graph for this function:

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