MCPcopy Create free account
hub / github.com/ElementsProject/elements / operator<

Method operator<

src/pubkey.h:128–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126 return !(a == b);
127 }
128 friend bool operator<(const CPubKey& a, const CPubKey& b)
129 {
130 return a.vch[0] < b.vch[0] ||
131 (a.vch[0] == b.vch[0] && memcmp(a.vch, b.vch, a.size()) < 0);
132 }
133 friend bool operator>(const CPubKey& a, const CPubKey& b)
134 {
135 return a.vch[0] > b.vch[0] ||

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected