| 168 | return m_wallet->IsMine(dest) & ISMINE_SPENDABLE; |
| 169 | } |
| 170 | bool haveWatchOnly() override |
| 171 | { |
| 172 | auto spk_man = m_wallet->GetLegacyScriptPubKeyMan(); |
| 173 | if (spk_man) { |
| 174 | return spk_man->HaveWatchOnly(); |
| 175 | } |
| 176 | return false; |
| 177 | }; |
| 178 | bool setAddressBook(const CTxDestination& dest, const std::string& name, const std::string& purpose) override |
| 179 | { |
| 180 | return m_wallet->SetAddressBook(dest, name, purpose); |
no test coverage detected