Dash Core  0.12.2.1
P2P Digital Currency
CompareTxMemPoolEntryByDescendantScore Class Reference

#include <txmempool.h>

Public Member Functions

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

Detailed Description

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

Definition at line 204 of file txmempool.h.

Member Function Documentation

◆ operator()()

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

Definition at line 207 of file txmempool.h.

◆ UseDescendantScore()

bool CompareTxMemPoolEntryByDescendantScore::UseDescendantScore ( const CTxMemPoolEntry a)
inline

Definition at line 229 of file txmempool.h.

Referenced by operator()().


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