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

Method IsActiveScriptPubKeyMan

src/wallet/wallet.cpp:3436–3445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3434}
3435
3436bool CWallet::IsActiveScriptPubKeyMan(const ScriptPubKeyMan& spkm) const
3437{
3438 for (const auto& [_, ext_spkm] : m_external_spk_managers) {
3439 if (ext_spkm == &spkm) return true;
3440 }
3441 for (const auto& [_, int_spkm] : m_internal_spk_managers) {
3442 if (int_spkm == &spkm) return true;
3443 }
3444 return false;
3445}
3446
3447std::set<ScriptPubKeyMan*> CWallet::GetAllScriptPubKeyMans() const
3448{

Callers 2

ExportDescriptorsFunction · 0.80
gethdkeysFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected