aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.h
diff options
context:
space:
mode:
authormmitkevich <mim@exante.eu>2018-10-16 14:58:22 +0300
committermmitkevich <mim@exante.eu>2018-10-16 14:58:22 +0300
commita7960542a9f8ea0ee0e90a24c411bb98f452c53b (patch)
tree7724ca660878536bd51e1e784c2ed242b4fcbdee /src/wallet/api/wallet.h
parentMerge pull request #4502 (diff)
downloadmonero-a7960542a9f8ea0ee0e90a24c411bb98f452c53b.tar.xz
WalletAPI: rescanBlockchain, rescanBlockchainAsync
Diffstat (limited to 'src/wallet/api/wallet.h')
-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;