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

Method IsHDEnabled

src/wallet/wallet.cpp:1439–1448  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1437}
1438
1439bool CWallet::IsHDEnabled() const
1440{
1441 // All Active ScriptPubKeyMans must be HD for this to be true
1442 bool result = false;
1443 for (const auto& spk_man : GetActiveScriptPubKeyMans()) {
1444 if (!spk_man->IsHDEnabled()) return false;
1445 result = true;
1446 }
1447 return result;
1448}
1449
1450bool CWallet::CanGetAddresses(bool internal) const
1451{

Callers 3

WalletShowInfoFunction · 0.45
EncryptWalletMethod · 0.45
hdEnabledMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected