Less-than operators
Declared in <netaddress.h>
Orders outpoints by transaction hash, then output index.
bool
operator<(
COutPoint const& a,
COutPoint const& b);
» more...
Order two subnets.
bool
operator<(
CSubNet const& a,
CSubNet const& b);
» more...
Order two addresses.
bool
operator<(
CNetAddr const& a,
CNetAddr const& b);
» more...
Order two services.
bool
operator<(
CService const& a,
CService const& b);
» more...
Orders two inventory entries by type and then by hash.
bool
operator<(
CInv const& a,
CInv const& b);
» more...
Check whether the first feerate is strictly lower than the second.
bool
operator<(
ByRatio const& a,
ByRatio const& b) noexcept;
» more...
Order two public keys lexicographically by their serialized bytes.
bool
operator<(
CPubKey const& a,
CPubKey const& b);
» more...
Order two extended public keys by public key, then by chain code.
bool
operator<(
CExtPubKey const& a,
CExtPubKey const& b);
» more...
Order two KeyOriginInfo by fingerprint, then path length, then path.
bool
operator<(
KeyOriginInfo const& a,
KeyOriginInfo const& b);
» more...
Order two destinations by their scripts.
bool
operator<(
CNoDestination const& a,
CNoDestination const& b);
» more...
Order two destinations by their public keys.
bool
operator<(
PubKeyDestination const& a,
PubKeyDestination const& b);
» more...
Order two destinations by version, then by program.
bool
operator<(
WitnessUnknown const& w1,
WitnessUnknown const& w2);
» more...
a orders before b.a sorts before b by type and then by hash.a's script orders before b's.a's public key orders before b's.w1 orders before w2.| Name | Description |
|---|---|
| a | The left-hand outpoint. |
| b | The right-hand outpoint. |
| w1 | The first destination. |
| w2 | The second destination. |