aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/crypter.h
diff options
context:
space:
mode:
author251 <13120787+251Labs@users.noreply.github.com>2018-07-10 20:55:53 +0200
committer251 <13120787+251Labs@users.noreply.github.com>2018-07-12 00:48:49 +0200
commitd0b9405f964670d6eaa8529f65fa7993b2a406c8 (patch)
tree31d5ddae7c3b91e3fc00ff33f9a30d6f8ed04123 /src/wallet/crypter.h
parent5ba77df15de92deb35bfd501d4635aed3236af30 (diff)
downloadbitcoin-d0b9405f964670d6eaa8529f65fa7993b2a406c8.tar.xz
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.h2
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