CompareIteratorByHash::operator()

Function call operators

Synopses

Declared in <kernel/mempool_entry.h>

Compares two entry pointers by transaction hash.

template<typename T>
bool
operator()(
    T const& a,
    T const& b) const;
» more...

Compares two wrapped entries by transaction hash.

template<typename T>
bool
operator()(
    std::reference_wrapper<T> const& a,
    std::reference_wrapper<T> const& b) const;
» more...

Return Value

true if a's transaction hash is less than b's.

Parameters

NameDescription
aThe left-hand entry pointer.
bThe right-hand entry pointer.