aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2_api.h
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2017-01-12 22:10:38 +0100
committerJaquee <jaquee.monero@gmail.com>2017-01-13 22:05:39 +0100
commit46550c0b4fc99e374c0df085e27edba1c6a3776c (patch)
tree8a8ddfeb5aad701edd8150a681d7ec092d74d128 /src/wallet/wallet2_api.h
parentMerge pull request #1562 (diff)
downloadmonero-46550c0b4fc99e374c0df085e27edba1c6a3776c.tar.xz
Wallet API: add rescanSpent()
Diffstat (limited to 'src/wallet/wallet2_api.h')
-rw-r--r--src/wallet/wallet2_api.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/wallet2_api.h b/src/wallet/wallet2_api.h
index daffb48bf..7a6c07732 100644
--- a/src/wallet/wallet2_api.h
+++ b/src/wallet/wallet2_api.h
@@ -558,6 +558,11 @@ struct Wallet
virtual bool verifySignedMessage(const std::string &message, const std::string &addres, const std::string &signature) const = 0;
virtual bool parse_uri(const std::string &uri, std::string &address, std::string &payment_id, uint64_t &amount, std::string &tx_description, std::string &recipient_name, std::vector<std::string> &unknown_parameters, std::string &error) = 0;
+ /*
+ * \brief rescanSpent - Rescan spent outputs - Can only be used with trusted daemon
+ * \return true on success
+ */
+ virtual bool rescanSpent() = 0;
};
/**