aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-08-02 14:44:19 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-08-02 14:44:19 +0100
commitfa23a5006d20bd8f4a6b177ec999bfca4bc2e42c (patch)
tree1cb78ec02da145d25428d672cbd6c72ff4148489 /src/wallet/wallet2.h
parentnode_rpc_proxy: add a proxy for target height (diff)
downloadmonero-fa23a5006d20bd8f4a6b177ec999bfca4bc2e42c.tar.xz
wallet2: add a is_synced function
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index e7692badb..96dea2e40 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -597,6 +597,8 @@ namespace tools
uint64_t get_blockchain_height_by_date(uint16_t year, uint8_t month, uint8_t day); // 1<=month<=12, 1<=day<=31
+ bool is_synced() const;
+
private:
/*!
* \brief Stores wallet information to wallet file.