| 1652 | } |
| 1653 | |
| 1654 | std::set<CKeyID> LegacyScriptPubKeyMan::GetKeys() const |
| 1655 | { |
| 1656 | LOCK(cs_KeyStore); |
| 1657 | if (!m_storage.HasEncryptionKeys()) { |
| 1658 | return FillableSigningProvider::GetKeys(); |
| 1659 | } |
| 1660 | std::set<CKeyID> set_address; |
| 1661 | for (const auto& mi : mapCryptedKeys) { |
| 1662 | set_address.insert(mi.first); |
| 1663 | } |
| 1664 | return set_address; |
| 1665 | } |
| 1666 | |
| 1667 | bool DescriptorScriptPubKeyMan::GetNewDestination(const OutputType type, CTxDestination& dest, bilingual_str& error) |
| 1668 | { |