operator==

Comparator implementation.

Synopsis

Declared in <pubkey.h>

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

NOTE

This function is a hidden friend of CPubKey, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

true if both public keys have identical serialized bytes.

Parameters

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