diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-10-26 22:38:41 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-10-26 22:38:41 +0200 |
commit | 148d14164e9e044a9779a75a8f05585c063f2dd0 (patch) | |
tree | ee25ce13c616a01f282ee77fa7b022c3537be542 /src/wallet/api/wallet.h | |
parent | Merge pull request #4613 (diff) | |
parent | WalletAPI: rescanBlockchain, rescanBlockchainAsync (diff) | |
download | monero-148d14164e9e044a9779a75a8f05585c063f2dd0.tar.xz |
Merge pull request #4615
a7960542 WalletAPI: rescanBlockchain, rescanBlockchainAsync (mmitkevich)
Diffstat (limited to '')
-rw-r--r-- | src/wallet/api/wallet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h index 6d343888b..b4637b8e6 100644 --- a/src/wallet/api/wallet.h +++ b/src/wallet/api/wallet.h @@ -114,6 +114,8 @@ public: bool synchronized() const override; bool refresh() override; void refreshAsync() override; + bool rescanBlockchain() override; + void rescanBlockchainAsync() override; void setAutoRefreshInterval(int millis) override; int autoRefreshInterval() const override; void setRefreshFromBlockHeight(uint64_t refresh_from_block_height) override; @@ -232,6 +234,7 @@ private: std::atomic<bool> m_refreshEnabled; std::atomic<bool> m_refreshThreadDone; std::atomic<int> m_refreshIntervalMillis; + std::atomic<bool> m_refreshShouldRescan; // synchronizing refresh loop; boost::mutex m_refreshMutex; |