operator<

Order two public keys lexicographically by their serialized bytes.

Synopsis

Declared in <pubkey.h>

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

Return Value

true if a sorts before b.

Parameters

NameDescription
aThe left-hand public key.
bThe right-hand public key.