Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
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 212 of file txmempool.h.
Member Function Documentation
◆ GetModFeeAndSize()
|
inline |
Definition at line 233 of file txmempool.h.
References CTxMemPoolEntry::GetModFeesWithDescendants(), CTxMemPoolEntry::GetModifiedFee(), CTxMemPoolEntry::GetSizeWithDescendants(), and CTxMemPoolEntry::GetTxSize().
Referenced by operator()().
◆ operator()()
|
inline |
Definition at line 215 of file txmempool.h.
References GetModFeeAndSize(), and CTxMemPoolEntry::GetTime().
The documentation for this class was generated from the following file:
- src/txmempool.h