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.
This commit is contained in:
251
2018-07-10 20:55:53 +02:00
parent 5ba77df15d
commit d0b9405f96
2 changed files with 7 additions and 8 deletions

View File

@@ -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