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 | 10fe626e13297d9712763a51174cd6437185e53d (diff) | |
| download | monzero-core-8b20cbfa7dcdae314ae8090b3fe0bd83deae0116.tar.gz monzero-core-8b20cbfa7dcdae314ae8090b3fe0bd83deae0116.tar.xz monzero-core-8b20cbfa7dcdae314ae8090b3fe0bd83deae0116.zip | |
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; }; |
