aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/scriptpubkeyman.h
diff options
context:
space:
mode:
authorAndrew Chow <[email protected]>2019-12-05 18:14:53 -0500
committerAndrew Chow <[email protected]>2019-12-06 15:05:48 -0500
commitbf6417142f36a2f75b3a11368bd73fe788ae1ccb (patch)
tree1c2b79eea3f32fdedfe3eb0ff0d12c42cda8eb5b /src/wallet/scriptpubkeyman.h
parentRename EncryptKeys to Encrypt and pass in the encrypted batch to use (diff)
downloaddiscoin-bf6417142f36a2f75b3a11368bd73fe788ae1ccb.tar.xz
discoin-bf6417142f36a2f75b3a11368bd73fe788ae1ccb.zip
Remove SetCrypted() and fUseCrypto; Change IsCrypted()'s implementation
Removes SetCrypted() and fUseCrypto as we don't need them anymore. SetCrypted calls in LegacyScriptPubKeyMan are replaced with mapKeys.empty() IsCrypted() is changed to just call HasEncryptionKeys()
Diffstat (limited to 'src/wallet/scriptpubkeyman.h')
-rw-r--r--src/wallet/scriptpubkeyman.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wallet/scriptpubkeyman.h b/src/wallet/scriptpubkeyman.h
index 4fe4efc19..eef9640cd 100644
--- a/src/wallet/scriptpubkeyman.h
+++ b/src/wallet/scriptpubkeyman.h
@@ -412,14 +412,12 @@ public:
friend class CWallet;
friend class ReserveDestination;
LegacyScriptPubKeyMan(CWallet& wallet);
- bool SetCrypted();
bool IsCrypted() const;
void NotifyWatchonlyChanged(bool fHaveWatchOnly) const;
void NotifyCanGetAddressesChanged() const;
template<typename... Params> void WalletLogPrintf(const std::string& fmt, const Params&... parameters) const;
CWallet& m_wallet;
CCriticalSection& cs_wallet;
- std::atomic<bool>& fUseCrypto;
};
#endif // BITCOIN_WALLET_SCRIPTPUBKEYMAN_H