aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2_api.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-01-15 14:44:49 -0500
committerRiccardo Spagni <ric@spagni.net>2017-01-15 14:44:49 -0500
commit935f50471ccaf70c72fec78394908a789748a0b1 (patch)
tree42af94ef1f73f6bb36624d97b85aa47c4629fb12 /src/wallet/wallet2_api.h
parentMerge pull request #1552 (diff)
parentWallet API: add rescanSpent() (diff)
downloadmonero-935f50471ccaf70c72fec78394908a789748a0b1.tar.xz
Merge pull request #1560
46550c0b Wallet API: add rescanSpent() (Jaquee)
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;
};
/**