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

Method GetKeys

src/wallet/scriptpubkeyman.cpp:1654–1665  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1652}
1653
1654std::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
1667bool DescriptorScriptPubKeyMan::GetNewDestination(const OutputType type, CTxDestination& dest, bilingual_str& error)
1668{

Callers 2

GetKeyBirthTimesMethod · 0.45
FUZZ_TARGET_INITFunction · 0.45

Calls 5

DecryptKeyFunction · 0.85
HasEncryptionKeysMethod · 0.80
IsLockedMethod · 0.80
insertMethod · 0.45
GetIDMethod · 0.45

Tested by 1

FUZZ_TARGET_INITFunction · 0.36