diff options
author | 251 <13120787+251Labs@users.noreply.github.com> | 2018-07-10 20:55:53 +0200 |
---|---|---|
committer | 251 <13120787+251Labs@users.noreply.github.com> | 2018-07-12 00:48:49 +0200 |
commit | d0b9405f964670d6eaa8529f65fa7993b2a406c8 (patch) | |
tree | 31d5ddae7c3b91e3fc00ff33f9a30d6f8ed04123 /src/wallet | |
parent | 5ba77df15de92deb35bfd501d4635aed3236af30 (diff) |
Refactors `keystore.h` type aliases.
This squashed commit either encapsulates type alias declarations at the appropriate scope; or removes type aliases that are not used.
The encapsulated type aliases are declared using C++11's `using` notation in favor of the `typedef` notation.
Diffstat (limited to 'src/wallet')
-rw-r--r-- | src/wallet/crypter.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/crypter.h b/src/wallet/crypter.h index b0a75b7020..52842cd978 100644 --- a/src/wallet/crypter.h +++ b/src/wallet/crypter.h @@ -126,6 +126,8 @@ private: bool fDecryptionThoroughlyChecked; protected: + using CryptedKeyMap = std::map<CKeyID, std::pair<CPubKey, std::vector<unsigned char>>>; + bool SetCrypted(); //! will encrypt previously unencrypted keys |