aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-11-08 09:58:46 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-11-08 21:21:08 +0000
commitc441a61ef6caeedd133b3d4ca979ff0e47e671d0 (patch)
treecf284344450aa175c718b91711a3e9137f999f7f /src/wallet/api/wallet.h
parentMerge pull request #1308 (diff)
downloadmonero-c441a61ef6caeedd133b3d4ca979ff0e47e671d0.tar.xz
wallet2_api: API to sign and verify a message
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 3f6d2ac7b..08bd0adbb 100644
--- a/src/wallet/api/wallet.h
+++ b/src/wallet/api/wallet.h
@@ -101,6 +101,9 @@ public:
virtual std::string getUserNote(const std::string &txid) const;
virtual std::string getTxKey(const std::string &txid) const;
+ virtual std::string signMessage(const std::string &message);
+ virtual bool verifySignedMessage(const std::string &message, const std::string &address, const std::string &signature) const;
+
private:
void clearStatus();
void refreshThreadFunc();