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

Method GetCachedParentExtPubKey

src/script/descriptor.cpp:1442–1448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1440}
1441
1442bool DescriptorCache::GetCachedParentExtPubKey(uint32_t key_exp_pos, CExtPubKey& xpub) const
1443{
1444 const auto& it = m_parent_xpubs.find(key_exp_pos);
1445 if (it == m_parent_xpubs.end()) return false;
1446 xpub = it->second;
1447 return true;
1448}
1449
1450bool DescriptorCache::GetCachedDerivedExtPubKey(uint32_t key_exp_pos, uint32_t der_index, CExtPubKey& xpub) const
1451{

Callers 2

GetPubKeyMethod · 0.80
FUZZ_TARGETFunction · 0.80

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by 1

FUZZ_TARGETFunction · 0.64