wallet::OutputPtrComparator::operator()

Compare two outputs by value.

Synopsis

Declared in <wallet/coinselection.h>

bool
operator()(
    std::shared_ptr<COutput> const& a,
    std::shared_ptr<COutput> const& b) const;

Return Value

True if *a sorts before *b.

Parameters

NameDescription
aFirst output pointer.
bSecond output pointer.