aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-10-26 22:38:41 +0200
committerRiccardo Spagni <ric@spagni.net>2018-10-26 22:38:41 +0200
commit148d14164e9e044a9779a75a8f05585c063f2dd0 (patch)
treeee25ce13c616a01f282ee77fa7b022c3537be542 /src/wallet/api/wallet.h
parentMerge pull request #4613 (diff)
parentWalletAPI: rescanBlockchain, rescanBlockchainAsync (diff)
downloadmonero-148d14164e9e044a9779a75a8f05585c063f2dd0.tar.xz
Merge pull request #4615
a7960542 WalletAPI: rescanBlockchain, rescanBlockchainAsync (mmitkevich)
Diffstat (limited to '')
-rw-r--r--src/wallet/api/wallet.h3
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;