diff options
author | Ilya Kitaev <mbg033@gmail.com> | 2016-10-01 21:04:49 +0300 |
---|---|---|
committer | Ilya Kitaev <mbg033@gmail.com> | 2016-10-01 21:04:49 +0300 |
commit | 8b20cbfa7dcdae314ae8090b3fe0bd83deae0116 (patch) | |
tree | 75d46347b36540f1cf81e7ce7aa34d09eb0344f7 /src/wallet/api/wallet.h | |
parent | libwallet_api: fast-refresh in case of opening non-synced wallet (diff) | |
download | monero-8b20cbfa7dcdae314ae8090b3fe0bd83deae0116.tar.xz |
libwallet_api: do not use fast-refresh on recovery
Diffstat (limited to 'src/wallet/api/wallet.h')
-rw-r--r-- | src/wallet/api/wallet.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h index 09db05d08..5706b2bf5 100644 --- a/src/wallet/api/wallet.h +++ b/src/wallet/api/wallet.h @@ -128,6 +128,10 @@ private: boost::mutex m_refreshMutex2; boost::condition_variable m_refreshCV; boost::thread m_refreshThread; + // flag indicating wallet is recovering from seed + // so it shouldn't be considered as new and pull blocks (slow-refresh) + // instead of pulling hashes (fast-refresh) + bool m_recoveringFromSeed; }; |