@@ -737,7 +737,7 @@ class CWallet : public CCryptoKeyStore, public CValidationInterface
737
737
CPubKey GenerateNewKey ();
738
738
void DeriveNewChildKey (CKeyMetadata& metadata, CKey& secret);
739
739
// ! Adds a key to the store, and saves it to disk.
740
- bool AddKeyPubKey (const CKey& key, const CPubKey &pubkey);
740
+ bool AddKeyPubKey (const CKey& key, const CPubKey &pubkey) override ;
741
741
// ! Adds a key to the store, without saving it to disk (used by LoadWallet)
742
742
bool LoadKey (const CKey& key, const CPubKey &pubkey) { return CCryptoKeyStore::AddKeyPubKey (key, pubkey); }
743
743
// ! Load metadata (used by LoadWallet)
@@ -747,10 +747,10 @@ class CWallet : public CCryptoKeyStore, public CValidationInterface
747
747
void UpdateTimeFirstKey (int64_t nCreateTime);
748
748
749
749
// ! Adds an encrypted key to the store, and saves it to disk.
750
- bool AddCryptedKey (const CPubKey &vchPubKey, const std::vector<unsigned char > &vchCryptedSecret);
750
+ bool AddCryptedKey (const CPubKey &vchPubKey, const std::vector<unsigned char > &vchCryptedSecret) override ;
751
751
// ! Adds an encrypted key to the store, without saving it to disk (used by LoadWallet)
752
752
bool LoadCryptedKey (const CPubKey &vchPubKey, const std::vector<unsigned char > &vchCryptedSecret);
753
- bool AddCScript (const CScript& redeemScript);
753
+ bool AddCScript (const CScript& redeemScript) override ;
754
754
bool LoadCScript (const CScript& redeemScript);
755
755
756
756
// ! Adds a destination data tuple to the store, and saves it to disk
@@ -764,7 +764,7 @@ class CWallet : public CCryptoKeyStore, public CValidationInterface
764
764
765
765
// ! Adds a watch-only address to the store, and saves it to disk.
766
766
bool AddWatchOnly (const CScript& dest, int64_t nCreateTime);
767
- bool RemoveWatchOnly (const CScript &dest);
767
+ bool RemoveWatchOnly (const CScript &dest) override ;
768
768
// ! Adds a watch-only address to the store, without saving it to disk (used by LoadWallet)
769
769
bool LoadWatchOnly (const CScript &dest);
770
770
@@ -786,11 +786,11 @@ class CWallet : public CCryptoKeyStore, public CValidationInterface
786
786
void MarkDirty ();
787
787
bool AddToWallet (const CWalletTx& wtxIn, bool fFlushOnClose =true );
788
788
bool LoadToWallet (const CWalletTx& wtxIn);
789
- void SyncTransaction (const CTransaction& tx, const CBlockIndex *pindex, int posInBlock);
789
+ void SyncTransaction (const CTransaction& tx, const CBlockIndex *pindex, int posInBlock) override ;
790
790
bool AddToWalletIfInvolvingMe (const CTransaction& tx, const CBlockIndex* pIndex, int posInBlock, bool fUpdate );
791
791
int ScanForWalletTransactions (CBlockIndex* pindexStart, bool fUpdate = false );
792
792
void ReacceptWalletTransactions ();
793
- void ResendWalletTransactions (int64_t nBestBlockTime, CConnman* connman);
793
+ void ResendWalletTransactions (int64_t nBestBlockTime, CConnman* connman) override ;
794
794
std::vector<uint256> ResendWalletTransactionsBefore (int64_t nTime, CConnman* connman);
795
795
CAmount GetBalance () const ;
796
796
CAmount GetUnconfirmedBalance () const ;
@@ -872,7 +872,7 @@ class CWallet : public CCryptoKeyStore, public CValidationInterface
872
872
bool IsAllFromMe (const CTransaction& tx, const isminefilter& filter) const ;
873
873
CAmount GetCredit (const CTransaction& tx, const isminefilter& filter) const ;
874
874
CAmount GetChange (const CTransaction& tx) const ;
875
- void SetBestChain (const CBlockLocator& loc);
875
+ void SetBestChain (const CBlockLocator& loc) override ;
876
876
877
877
DBErrors LoadWallet (bool & fFirstRunRet );
878
878
DBErrors ZapWalletTx (std::vector<CWalletTx>& vWtx);
@@ -882,9 +882,9 @@ class CWallet : public CCryptoKeyStore, public CValidationInterface
882
882
883
883
bool DelAddressBook (const CTxDestination& address);
884
884
885
- void UpdatedTransaction (const uint256 &hashTx);
885
+ void UpdatedTransaction (const uint256 &hashTx) override ;
886
886
887
- void Inventory (const uint256 &hash)
887
+ void Inventory (const uint256 &hash) override
888
888
{
889
889
{
890
890
LOCK (cs_wallet);
@@ -894,8 +894,8 @@ class CWallet : public CCryptoKeyStore, public CValidationInterface
894
894
}
895
895
}
896
896
897
- void GetScriptForMining (boost::shared_ptr<CReserveScript> &script);
898
- void ResetRequestCount (const uint256 &hash)
897
+ void GetScriptForMining (boost::shared_ptr<CReserveScript> &script) override ;
898
+ void ResetRequestCount (const uint256 &hash) override
899
899
{
900
900
LOCK (cs_wallet);
901
901
mapRequestCount[hash] = 0 ;
0 commit comments