| 1437 | } |
| 1438 | |
| 1439 | bool 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 | |
| 1450 | bool CWallet::CanGetAddresses(bool internal) const |
| 1451 | { |
no outgoing calls
no test coverage detected