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

Method GetActiveScriptPubKeyMans

src/wallet/wallet.cpp:3396–3408  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3394}
3395
3396std::set<ScriptPubKeyMan*> CWallet::GetActiveScriptPubKeyMans() const
3397{
3398 std::set<ScriptPubKeyMan*> spk_mans;
3399 for (bool internal : {false, true}) {
3400 for (OutputType t : OUTPUT_TYPES) {
3401 auto spk_man = GetScriptPubKeyMan(t, internal);
3402 if (spk_man) {
3403 spk_mans.insert(spk_man);
3404 }
3405 }
3406 }
3407 return spk_mans;
3408}
3409
3410std::set<ScriptPubKeyMan*> CWallet::GetAllScriptPubKeyMans() const
3411{

Callers 3

CreateWalletFunction · 0.80
CreateMethod · 0.80
listdescriptorsFunction · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected