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

Method GetKeyOriginByXOnly

src/script/signingprovider.h:45–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 }
44
45 bool GetKeyOriginByXOnly(const XOnlyPubKey& pubkey, KeyOriginInfo& info) const
46 {
47 for (const auto& id : pubkey.GetKeyIDs()) {
48 if (GetKeyOrigin(id, info)) return true;
49 }
50 return false;
51 }
52};
53
54extern const SigningProvider& DUMMY_SIGNING_PROVIDER;

Callers 1

InferXOnlyPubkeyFunction · 0.80

Calls 1

GetKeyIDsMethod · 0.80

Tested by

no test coverage detected