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

Member Function Documentation

◆ operator()()

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

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