diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2016-09-09 07:48:10 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2017-02-27 20:45:17 +0000 |
commit | 2e518e313b5d5320c16bdb33ebd008b6d30a90f2 (patch) | |
tree | 12fc602f93dea67cb3fabef7c9bbf2908e4887da /src/wallet/wallet.h | |
parent | d77ad6d41666b4c41abe1ba3b63300df1903643e (diff) |
Move nWalletUnlockTime to CWallet::nRelockTime, and name timed task unique per CWallet
Diffstat (limited to 'src/wallet/wallet.h')
-rw-r--r-- | src/wallet/wallet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 98e4fb87b9..176063c27f 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -768,6 +768,9 @@ public: //! Adds a watch-only address to the store, without saving it to disk (used by LoadWallet) bool LoadWatchOnly(const CScript &dest); + //! Holds a timestamp at which point the wallet is scheduled (externally) to be relocked. Caller must arrange for actual relocking to occur via Lock(). + int64_t nRelockTime; + bool Unlock(const SecureString& strWalletPassphrase); bool ChangeWalletPassphrase(const SecureString& strOldWalletPassphrase, const SecureString& strNewWalletPassphrase); bool EncryptWallet(const SecureString& strWalletPassphrase); |