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

Method GetCachedParentExtPubKey

src/script/descriptor.cpp:3009–3015  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3007}
3008
3009bool DescriptorCache::GetCachedParentExtPubKey(uint32_t key_exp_pos, CExtPubKey& xpub) const
3010{
3011 const auto& it = m_parent_xpubs.find(key_exp_pos);
3012 if (it == m_parent_xpubs.end()) return false;
3013 xpub = it->second;
3014 return true;
3015}
3016
3017bool DescriptorCache::GetCachedDerivedExtPubKey(uint32_t key_exp_pos, uint32_t der_index, CExtPubKey& xpub) const
3018{

Callers 2

GetPubKeyMethod · 0.80
FUZZ_TARGETFunction · 0.80

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by 1

FUZZ_TARGETFunction · 0.64