aboutsummaryrefslogtreecommitdiff
path: root/src/keystore.h
diff options
context:
space:
mode:
authorJoão Barbosa <joao.paulo.barbosa@gmail.com>2018-03-23 00:57:33 +0000
committerJoão Barbosa <joao.paulo.barbosa@gmail.com>2018-03-24 12:15:53 +0000
commitf381299d64784c60cda30be48ea30a6469f05d35 (patch)
treece8224a0c328e5599692f1d74918e1ad0aba2612 /src/keystore.h
parent25eb9f50205b8e391cabbbf721711e08169c3773 (diff)
Move CKeyStore::cs_KeyStore to CBasicKeyStore
Diffstat (limited to 'src/keystore.h')
-rw-r--r--src/keystore.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/keystore.h b/src/keystore.h
index 2cca42c452..38d02fb360 100644
--- a/src/keystore.h
+++ b/src/keystore.h
@@ -17,9 +17,6 @@
/** A virtual base class for key stores */
class CKeyStore
{
-protected:
- mutable CCriticalSection cs_KeyStore;
-
public:
virtual ~CKeyStore() {}
@@ -54,6 +51,8 @@ typedef std::set<CScript> WatchOnlySet;
class CBasicKeyStore : public CKeyStore
{
protected:
+ mutable CCriticalSection cs_KeyStore;
+
KeyMap mapKeys;
WatchKeyMap mapWatchKeys;
ScriptMap mapScripts;