diff options
author | naughtyfox <mail.for.milo@gmail.com> | 2018-04-10 18:38:54 +0300 |
---|---|---|
committer | naughtyfox <mail.for.milo@gmail.com> | 2018-04-25 17:55:54 +0300 |
commit | b21bc007049ed73a6c32cd49eb3178c6c43ad5aa (patch) | |
tree | b7b433b625811a5fc093f40c5becbbea1e83930c /src/wallet/api/wallet.h | |
parent | Merge pull request #3434 (diff) | |
download | monero-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.h | 2 |
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); |