node::CBlockIndexHeightOnlyComparator::operator()

Order two block indices by height only.

Synopsis

Declared in <node/blockstorage.h>

bool
operator()(
    CBlockIndex const* pa,
    CBlockIndex const* pb) const;

Return Value

True if pa has a lower height than pb.

Parameters

NameDescription
paThe first block index to compare.
pbThe second block index to compare.