@@ -64,9 +64,9 @@ class CBasicKeyStore : public CKeyStore
6464 CHDChain hdChain;
6565
6666public:
67- bool AddKeyPubKey (const CKey& key, const CPubKey &pubkey);
68- bool GetPubKey (const CKeyID &address, CPubKey& vchPubKeyOut) const ;
69- bool HaveKey (const CKeyID &address) const
67+ bool AddKeyPubKey (const CKey& key, const CPubKey &pubkey) override ;
68+ bool GetPubKey (const CKeyID &address, CPubKey& vchPubKeyOut) const override ;
69+ bool HaveKey (const CKeyID &address) const override
7070 {
7171 bool result;
7272 {
@@ -75,7 +75,7 @@ class CBasicKeyStore : public CKeyStore
7575 }
7676 return result;
7777 }
78- void GetKeys (std::set<CKeyID> &setAddress) const
78+ void GetKeys (std::set<CKeyID> &setAddress) const override
7979 {
8080 setAddress.clear ();
8181 {
@@ -88,7 +88,7 @@ class CBasicKeyStore : public CKeyStore
8888 }
8989 }
9090 }
91- bool GetKey (const CKeyID &address, CKey &keyOut) const
91+ bool GetKey (const CKeyID &address, CKey &keyOut) const override
9292 {
9393 {
9494 LOCK (cs_KeyStore);
@@ -101,16 +101,16 @@ class CBasicKeyStore : public CKeyStore
101101 }
102102 return false ;
103103 }
104- virtual bool AddCScript (const CScript& redeemScript);
105- virtual bool HaveCScript (const CScriptID &hash) const ;
106- virtual bool GetCScript (const CScriptID &hash, CScript& redeemScriptOut) const ;
104+ virtual bool AddCScript (const CScript& redeemScript) override ;
105+ virtual bool HaveCScript (const CScriptID &hash) const override ;
106+ virtual bool GetCScript (const CScriptID &hash, CScript& redeemScriptOut) const override ;
107107
108- virtual bool AddWatchOnly (const CScript &dest);
109- virtual bool RemoveWatchOnly (const CScript &dest);
110- virtual bool HaveWatchOnly (const CScript &dest) const ;
111- virtual bool HaveWatchOnly () const ;
108+ virtual bool AddWatchOnly (const CScript &dest) override ;
109+ virtual bool RemoveWatchOnly (const CScript &dest) override ;
110+ virtual bool HaveWatchOnly (const CScript &dest) const override ;
111+ virtual bool HaveWatchOnly () const override ;
112112
113- bool GetHDChain (CHDChain& hdChainRet) const ;
113+ virtual bool GetHDChain (CHDChain& hdChainRet) const ;
114114};
115115
116116typedef std::vector<unsigned char , secure_allocator<unsigned char > > CKeyingMaterial;
0 commit comments