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

Method GetCachedLastHardenedExtPubKey

src/script/descriptor.cpp:3027–3033  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3025}
3026
3027bool DescriptorCache::GetCachedLastHardenedExtPubKey(uint32_t key_exp_pos, CExtPubKey& xpub) const
3028{
3029 const auto& it = m_last_hardened_xpubs.find(key_exp_pos);
3030 if (it == m_last_hardened_xpubs.end()) return false;
3031 xpub = it->second;
3032 return true;
3033}
3034
3035DescriptorCache DescriptorCache::MergeAndDiff(const DescriptorCache& other)
3036{

Callers 1

ToNormalizedStringMethod · 0.80

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected