aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.h
diff options
context:
space:
mode:
authornaughtyfox <mail.for.milo@gmail.com>2018-04-10 18:38:54 +0300
committernaughtyfox <mail.for.milo@gmail.com>2018-04-25 17:55:54 +0300
commitb21bc007049ed73a6c32cd49eb3178c6c43ad5aa (patch)
treeb7b433b625811a5fc093f40c5becbbea1e83930c /src/wallet/api/wallet.h
parentMerge pull request #3434 (diff)
downloadmonero-b21bc007049ed73a6c32cd49eb3178c6c43ad5aa.tar.xz
Wallet: added methods to sign and verify arbitrary message with multisig public signer's key (libwallet & wallet api)
Diffstat (limited to 'src/wallet/api/wallet.h')
-rw-r--r--src/wallet/api/wallet.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h
index 4929c9673..fed1e75f2 100644
--- a/src/wallet/api/wallet.h
+++ b/src/wallet/api/wallet.h
@@ -157,6 +157,8 @@ public:
virtual bool checkReserveProof(const std::string &address, const std::string &message, const std::string &signature, bool &good, uint64_t &total, uint64_t &spent) 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;
+ virtual std::string signMultisigParticipant(const std::string &message) const;
+ virtual bool verifyMessageWithPublicKey(const std::string &message, const std::string &publicKey, const std::string &signature) const;
virtual void startRefresh();
virtual void pauseRefresh();
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);