CompareIteratorByHash::operator()

Compares two wrapped entries by transaction hash.

Synopsis

Declared in <kernel/mempool_entry.h>

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

Return Value

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

Parameters

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