Bitcoin Core  0.21.1
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules
Public Member Functions | List of all members
CompareTxMemPoolEntryByDescendantScore Class Reference

Sort an entry by max(score/size of entry's tx, score/size with all descendants). More...

#include <txmempool.h>

Public Member Functions

bool operator() (const CTxMemPoolEntry &a, const CTxMemPoolEntry &b) const
 
void GetModFeeAndSize (const CTxMemPoolEntry &a, double &mod_fee, double &size) const
 

Detailed Description

Sort an entry by max(score/size of entry's tx, score/size with all descendants).

Definition at line 248 of file txmempool.h.

Member Function Documentation

void CompareTxMemPoolEntryByDescendantScore::GetModFeeAndSize ( const CTxMemPoolEntry a,
double &  mod_fee,
double &  size 
) const
inline

Definition at line 269 of file txmempool.h.

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 251 of file txmempool.h.

Here is the call graph for this function:


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