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

Method GetScriptPubKeyMans

src/wallet/wallet.cpp:3429–3439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3427}
3428
3429std::set<ScriptPubKeyMan*> CWallet::GetScriptPubKeyMans(const CScript& script) const
3430{
3431 std::set<ScriptPubKeyMan*> spk_mans;
3432 SignatureData sigdata;
3433 for (const auto& spk_man_pair : m_spk_managers) {
3434 if (spk_man_pair.second->CanProvide(script, sigdata)) {
3435 spk_mans.insert(spk_man_pair.second.get());
3436 }
3437 }
3438 return spk_mans;
3439}
3440
3441const CKeyingMaterial& CWallet::GetEncryptionKey() const
3442{

Callers 1

getaddressinfoFunction · 0.80

Calls 3

CanProvideMethod · 0.45
insertMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected