@@ -832,8 +832,8 @@ class CWallet final : public WalletStorage, private interfaces::Chain::Notificat
832
832
* Rescan abort properties
833
833
*/
834
834
void AbortRescan () { fAbortRescan = true ; }
835
- bool IsAbortingRescan () { return fAbortRescan ; }
836
- bool IsScanning () { return fScanningWallet ; }
835
+ bool IsAbortingRescan () const { return fAbortRescan ; }
836
+ bool IsScanning () const { return fScanningWallet ; }
837
837
int64_t ScanningDuration () const { return fScanningWallet ? GetTimeMillis () - m_scanning_start : 0 ; }
838
838
double ScanningProgress () const { return fScanningWallet ? (double ) m_scanning_progress : 0 ; }
839
839
@@ -973,8 +973,8 @@ class CWallet final : public WalletStorage, private interfaces::Chain::Notificat
973
973
974
974
int64_t GetOldestKeyPoolTime () const ;
975
975
976
- std::set<std::set<CTxDestination>> GetAddressGroupings () EXCLUSIVE_LOCKS_REQUIRED(cs_wallet);
977
- std::map<CTxDestination, CAmount> GetAddressBalances (interfaces::Chain::Lock& locked_chain);
976
+ std::set<std::set<CTxDestination>> GetAddressGroupings () const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet);
977
+ std::map<CTxDestination, CAmount> GetAddressBalances (interfaces::Chain::Lock& locked_chain) const ;
978
978
979
979
std::set<CTxDestination> GetLabelAddresses (const std::string& label) const ;
980
980
@@ -1027,7 +1027,7 @@ class CWallet final : public WalletStorage, private interfaces::Chain::Notificat
1027
1027
bool SetMaxVersion (int nVersion);
1028
1028
1029
1029
// ! get the current wallet format (the oldest client version guaranteed to understand this wallet)
1030
- int GetVersion () { LOCK (cs_wallet); return nWalletVersion; }
1030
+ int GetVersion () const { LOCK (cs_wallet); return nWalletVersion; }
1031
1031
1032
1032
// ! Get wallet transactions that conflict with given transaction (spend same outputs)
1033
1033
std::set<uint256> GetConflicts (const uint256& txid) const EXCLUSIVE_LOCKS_REQUIRED(cs_wallet);
0 commit comments