libwallet_api: do not use fast-refresh on recovery

This commit is contained in:
Ilya Kitaev
2016-10-01 21:04:49 +03:00
parent 10fe626e13
commit 8b20cbfa7d
3 changed files with 63 additions and 14 deletions
+4
View File
@@ -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;
};