From c441a61ef6caeedd133b3d4ca979ff0e47e671d0 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Tue, 8 Nov 2016 09:58:46 +0000 Subject: wallet2_api: API to sign and verify a message --- src/wallet/api/wallet.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/wallet/api/wallet.h') 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(); -- cgit v1.2.3