XOnlyPubKey::GetKeyIDs

Returns a list of CKeyIDs for the CPubKeys that could have been used to create this XOnlyPubKey. As the CKeyID is the Hash160(full pubkey), the produced CKeyIDs are for the versions of this XOnlyPubKey with 0x02 and 0x03 prefixes. This is needed for key lookups since keys are indexed by CKeyID.

Synopsis

Declared in <pubkey.h>

std::vector<CKeyID>
GetKeyIDs() const;

Return Value

The candidate key identifiers for this x-only pubkey.