aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2018-06-12 15:29:33 +0900
committerstoffu <stoffu@protonmail.ch>2018-06-28 09:41:43 +0900
commit3d623a86d17d4f9884b766fc8e07fc1799ae0a9f (patch)
treed0f93c9ddf6b3ca40c29eaba37e1f1a722bd6304 /src/wallet/wallet2.h
parentutil: add file_locker class (diff)
downloadmonero-3d623a86d17d4f9884b766fc8e07fc1799ae0a9f.tar.xz
wallet: prevent the same wallet file from being opened by multiple processes
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r--src/wallet/wallet2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index 705933979..d33d8258b 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -1308,6 +1308,7 @@ namespace tools
boost::optional<crypto::chacha_key> m_ringdb_key;
uint64_t m_last_block_reward;
+ std::unique_ptr<tools::file_locker> m_keys_file_locker;
};
}
BOOST_CLASS_VERSION(tools::wallet2, 25)