diff options
| author | 251 <[email protected]> | 2018-07-10 20:55:53 +0200 |
|---|---|---|
| committer | 251 <[email protected]> | 2018-07-12 00:48:49 +0200 |
| commit | d0b9405f964670d6eaa8529f65fa7993b2a406c8 (patch) | |
| tree | 31d5ddae7c3b91e3fc00ff33f9a30d6f8ed04123 /src/wallet/crypter.h | |
| parent | Merge #13114: wallet/keystore: Add Clang thread safety annotations for variab... (diff) | |
| download | discoin-d0b9405f964670d6eaa8529f65fa7993b2a406c8.tar.xz discoin-d0b9405f964670d6eaa8529f65fa7993b2a406c8.zip | |
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/crypter.h')
| -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 b0a75b702..52842cd97 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 |