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

Method GetActiveScriptPubKeyMans

src/wallet/wallet.cpp:3422–3434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3420}
3421
3422std::set<ScriptPubKeyMan*> CWallet::GetActiveScriptPubKeyMans() const
3423{
3424 std::set<ScriptPubKeyMan*> spk_mans;
3425 for (bool internal : {false, true}) {
3426 for (OutputType t : OUTPUT_TYPES) {
3427 auto spk_man = GetScriptPubKeyMan(t, internal);
3428 if (spk_man) {
3429 spk_mans.insert(spk_man);
3430 }
3431 }
3432 }
3433 return spk_mans;
3434}
3435
3436bool CWallet::IsActiveScriptPubKeyMan(const ScriptPubKeyMan& spkm) const
3437{

Callers 2

LoadExistingMethod · 0.80
gethdkeysFunction · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected