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

Method isSpendable

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

Source from the content-addressed store, hash-verified

142 bool getPubKey(const CKeyID& address, CPubKey& pub_key) override { return m_wallet.GetPubKey(address, pub_key); }
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 {

Callers 1

Calls 1

IsMineFunction · 0.85

Tested by

no test coverage detected