MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / haveWatchOnly

Method haveWatchOnly

src/interfaces/wallet.cpp:145–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143 bool getPrivKey(const CKeyID& address, CKey& key) override { return m_wallet.GetKey(address, key); }
144 bool isSpendable(const CTxDestination& dest) override { return IsMine(m_wallet, dest) & ISMINE_SPENDABLE; }
145 bool haveWatchOnly() override { return m_wallet.HaveWatchOnly(); };
146 bool setAddressBook(const CTxDestination& dest, const std::string& name, const std::string& purpose) override
147 {
148 return m_wallet.SetAddressBook(dest, name, purpose);

Callers 4

WalletModelMethod · 0.80
setModelMethod · 0.80
exportClickedMethod · 0.80
setWalletModelMethod · 0.80

Calls 1

HaveWatchOnlyMethod · 0.80

Tested by

no test coverage detected