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

Method GetCachedLastHardenedExtPubKey

src/script/descriptor.cpp:1460–1466  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1458}
1459
1460bool DescriptorCache::GetCachedLastHardenedExtPubKey(uint32_t key_exp_pos, CExtPubKey& xpub) const
1461{
1462 const auto& it = m_last_hardened_xpubs.find(key_exp_pos);
1463 if (it == m_last_hardened_xpubs.end()) return false;
1464 xpub = it->second;
1465 return true;
1466}
1467
1468DescriptorCache DescriptorCache::MergeAndDiff(const DescriptorCache& other)
1469{

Callers 1

ToNormalizedStringMethod · 0.80

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected