operator<

Orders outpoints by transaction hash, then output index.

Synopsis

Declared in <primitives/transaction.h>

bool
operator<(
    COutPoint const& a,
    COutPoint const& b);

Return Value

True if a orders before b.

Parameters

NameDescription
aThe left-hand outpoint.
bThe right-hand outpoint.