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

Method operator==

src/pubkey.h:119–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117
118 //! Comparator implementation.
119 friend bool operator==(const CPubKey& a, const CPubKey& b)
120 {
121 return a.vch[0] == b.vch[0] &&
122 memcmp(a.vch, b.vch, a.size()) == 0;
123 }
124 friend bool operator!=(const CPubKey& a, const CPubKey& b)
125 {
126 return !(a == b);

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected