aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.h
diff options
context:
space:
mode:
authorIlya Kitaev <mbg033@gmail.com>2016-09-26 22:50:10 +0300
committerIlya Kitaev <mbg033@gmail.com>2016-09-26 23:19:25 +0300
commit3079c5756be459af57c8c866b339b4b98c1da1f2 (patch)
tree12613206489610e43bf9504506bc6931aacd5638 /src/wallet/api/wallet.h
parentwallet2_api: added Wallet::daemonBlockChainHeight() (diff)
downloadmonero-3079c5756be459af57c8c866b339b4b98c1da1f2.tar.xz
wallet2_api: milliseconds resolution for auto-refresh interval
Diffstat (limited to 'src/wallet/api/wallet.h')
-rw-r--r--src/wallet/api/wallet.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h
index 03801edac..d97a8f3b3 100644
--- a/src/wallet/api/wallet.h
+++ b/src/wallet/api/wallet.h
@@ -79,7 +79,7 @@ public:
uint64_t daemonBlockChainHeight() const;
bool refresh();
void refreshAsync();
- void setAutoRefreshInterval(int seconds);
+ void setAutoRefreshInterval(int millis);
int autoRefreshInterval() const;
@@ -118,7 +118,7 @@ private:
// multi-threaded refresh stuff
std::atomic<bool> m_refreshEnabled;
std::atomic<bool> m_refreshThreadDone;
- std::atomic<int> m_refreshIntervalSeconds;
+ std::atomic<int> m_refreshIntervalMillis;
// synchronizing refresh loop;
boost::mutex m_refreshMutex;