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

Method getPrivKey

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

Source from the content-addressed store, hash-verified

141 }
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

Callers 1

Calls 1

GetKeyMethod · 0.45

Tested by

no test coverage detected