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

Method HaveKey

src/script/signingprovider.cpp:95–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93 return ret;
94}
95bool FlatSigningProvider::HaveKey(const CKeyID &keyid) const
96{
97 CKey key;
98 return LookupHelper(keys, keyid, key);
99}
100bool FlatSigningProvider::GetKey(const CKeyID& keyid, CKey& key) const { return LookupHelper(keys, keyid, key); }
101bool FlatSigningProvider::GetTaprootSpendData(const XOnlyPubKey& output_key, TaprootSpendData& spenddata) const
102{

Callers

nothing calls this directly

Calls 2

LookupHelperFunction · 0.85
containsMethod · 0.45

Tested by

no test coverage detected