|
|
|
@ -23,12 +23,10 @@ public:
|
|
|
|
|
virtual bool AddKeyPubKey(const CKey &key, const CPubKey &pubkey) =0;
|
|
|
|
|
|
|
|
|
|
//! Check whether a key corresponding to a given address is present in the store.
|
|
|
|
|
virtual bool HaveKey(const CKeyID &address) const =0;
|
|
|
|
|
virtual std::set<CKeyID> GetKeys() const =0;
|
|
|
|
|
|
|
|
|
|
//! Support for BIP 0013 : see https://github.com/bitcoin/bips/blob/master/bip-0013.mediawiki
|
|
|
|
|
virtual bool AddCScript(const CScript& redeemScript) =0;
|
|
|
|
|
virtual bool HaveCScript(const CScriptID &hash) const =0;
|
|
|
|
|
virtual std::set<CScriptID> GetCScripts() const =0;
|
|
|
|
|
|
|
|
|
|
//! Support for Watch-only addresses
|
|
|
|
|