diff options
author | Andrew Chow <achow101-github@achow101.com> | 2020-02-10 21:27:59 -0500 |
---|---|---|
committer | Andrew Chow <achow101-github@achow101.com> | 2020-03-09 11:16:20 -0400 |
commit | dc174881ad8498a6905ba282a48077bc5c8037a7 (patch) | |
tree | cf16d8436418d8550d43cc7315a0d499c0b6ff5e /src/interfaces/wallet.h | |
parent | 6a9c429084b40356aa36aa67992da35f61c2f6a2 (diff) |
Replace GetSigningProvider with GetSolvingProvider
Not all ScriptPubKeyMans will be able to provide private keys,
but pubkeys and scripts should be. So only provide public-only
SigningProviders, i.e. ones that can help with Solving.
Diffstat (limited to 'src/interfaces/wallet.h')
-rw-r--r-- | src/interfaces/wallet.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/interfaces/wallet.h b/src/interfaces/wallet.h index 6f27ee126d..9476c9f77f 100644 --- a/src/interfaces/wallet.h +++ b/src/interfaces/wallet.h @@ -85,9 +85,6 @@ public: //! Get public key. virtual bool getPubKey(const CScript& script, const CKeyID& address, CPubKey& pub_key) = 0; - //! Get private key. - virtual bool getPrivKey(const CScript& script, const CKeyID& address, CKey& key) = 0; - //! Sign message virtual SigningResult signMessage(const std::string& message, const PKHash& pkhash, std::string& str_sig) = 0; |