MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetPubKeyByXOnly

Method GetPubKeyByXOnly

src/script/signingprovider.h:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 }
36
37 bool GetPubKeyByXOnly(const XOnlyPubKey& pubkey, CPubKey& out) const
38 {
39 for (const auto& id : pubkey.GetKeyIDs()) {
40 if (GetPubKey(id, out)) return true;
41 }
42 return false;
43 }
44
45 bool GetKeyOriginByXOnly(const XOnlyPubKey& pubkey, KeyOriginInfo& info) const
46 {

Callers 1

GetKeyForDestinationFunction · 0.80

Calls 2

GetPubKeyFunction · 0.85
GetKeyIDsMethod · 0.80

Tested by

no test coverage detected