aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-07-20 13:50:41 +0200
committerRiccardo Spagni <ric@spagni.net>2016-07-20 13:50:41 +0200
commit77e1d8774a982342a763a9468560225fca97a52e (patch)
treea375ca47ca2cf9f03cfb5dd064f3d6090efc6b13 /src/wallet/wallet2.h
parentMerge pull request #889 (diff)
parentwallet: add command and RPC to sign/verify data (diff)
downloadmonero-77e1d8774a982342a763a9468560225fca97a52e.tar.xz
Merge pull request #818
89d9f38 wallet: add command and RPC to sign/verify data (moneromooo-monero)
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r--src/wallet/wallet2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index c5149a10c..ca5cec43c 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -386,6 +386,9 @@ namespace tools
void set_tx_note(const crypto::hash &txid, const std::string &note);
std::string get_tx_note(const crypto::hash &txid) const;
+ std::string sign(const std::string &data) const;
+ bool verify(const std::string &data, const cryptonote::account_public_address &address, const std::string &signature) const;
+
private:
/*!
* \brief Stores wallet information to wallet file.