aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.h
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-10-01 21:04:49 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-10-01 21:04:49 +0300
commit8b20cbfa7dcdae314ae8090b3fe0bd83deae0116 (patch)
tree75d46347b36540f1cf81e7ce7aa34d09eb0344f7 /src/wallet/api/wallet.h
parentlibwallet_api: fast-refresh in case of opening non-synced wallet (diff)
downloadmonero-8b20cbfa7dcdae314ae8090b3fe0bd83deae0116.tar.xz
libwallet_api: do not use fast-refresh on recovery
Diffstat (limited to '')
-rw-r--r--src/wallet/api/wallet.h4
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;
};