MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / GetKeyIDs

Method GetKeyIDs

src/pubkey.cpp:214–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212}
213
214std::vector<CKeyID> XOnlyPubKey::GetKeyIDs() const
215{
216 std::vector<CKeyID> out;
217 for (const CPubKey& pk : GetCPubKeys()) {
218 out.push_back(pk.GetID());
219 }
220 return out;
221}
222
223CPubKey XOnlyPubKey::GetEvenCorrespondingCPubKey() const
224{

Callers 3

GetKeyByXOnlyMethod · 0.80
GetPubKeyByXOnlyMethod · 0.80
GetKeyOriginByXOnlyMethod · 0.80

Calls 2

push_backMethod · 0.45
GetIDMethod · 0.45

Tested by

no test coverage detected