| 1458 | } |
| 1459 | |
| 1460 | bool 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 | |
| 1468 | DescriptorCache DescriptorCache::MergeAndDiff(const DescriptorCache& other) |
| 1469 | { |
no test coverage detected