Electroneum
Loading...
Searching...
No Matches
cryptonote::txCompare Class Reference

#include <tx_pool.h>

Public Member Functions

bool operator() (const tx_by_fee_and_receive_time_entry &a, const tx_by_fee_and_receive_time_entry &b) const

Detailed Description

Definition at line 62 of file tx_pool.h.

Member Function Documentation

◆ operator()()

bool cryptonote::txCompare::operator() ( const tx_by_fee_and_receive_time_entry & a,
const tx_by_fee_and_receive_time_entry & b ) const
inline

Definition at line 65 of file tx_pool.h.

66 {
67 // sort by greatest first, not least
68 if (a.first.first > b.first.first) return true;
69 else if (a.first.first < b.first.first) return false;
70 else if (a.first.second < b.first.second) return true;
71 else if (a.first.second > b.first.second) return false;
72 else if (a.second != b.second) return true;
73 else return false;
74 }
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition pointer.h:1124

The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/src/cryptonote_core/tx_pool.h