File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -23,12 +23,10 @@ class CKeyStore : public SigningProvider
2323 virtual bool AddKeyPubKey (const CKey &key, const CPubKey &pubkey) =0;
2424
2525 // ! Check whether a key corresponding to a given address is present in the store.
26- virtual bool HaveKey (const CKeyID &address) const =0;
2726 virtual std::set<CKeyID> GetKeys () const =0;
2827
2928 // ! Support for BIP 0013 : see https://github.com/bitcoin/bips/blob/master/bip-0013.mediawiki
3029 virtual bool AddCScript (const CScript& redeemScript) =0;
31- virtual bool HaveCScript (const CScriptID &hash) const =0;
3230 virtual std::set<CScriptID> GetCScripts () const =0;
3331
3432 // ! Support for Watch-only addresses
Original file line number Diff line number Diff line change @@ -51,8 +51,10 @@ class SigningProvider
5151public:
5252 virtual ~SigningProvider () {}
5353 virtual bool GetCScript (const CScriptID &scriptid, CScript& script) const { return false ; }
54+ virtual bool HaveCScript (const CScriptID &scriptid) const { return false ; }
5455 virtual bool GetPubKey (const CKeyID &address, CPubKey& pubkey) const { return false ; }
5556 virtual bool GetKey (const CKeyID &address, CKey& key) const { return false ; }
57+ virtual bool HaveKey (const CKeyID &address) const { return false ; }
5658 virtual bool GetKeyOrigin (const CKeyID& keyid, KeyOriginInfo& info) const { return false ; }
5759};
5860
You can’t perform that action at this time.
0 commit comments