aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2_api.h
diff options
context:
space:
mode:
authorstoffu <stoffu@protonmail.ch>2017-08-29 00:34:17 +0900
committerstoffu <stoffu@protonmail.ch>2017-11-21 16:49:16 +0900
commitb0b7e0f09a7b7e8c8dcd7b668f3504d73a6914fe (patch)
tree95e5c1c96123b479df56493eda6c83ab7b1c12e6 /src/wallet/wallet2_api.h
parentMerge pull request #2783 (diff)
downloadmonero-b0b7e0f09a7b7e8c8dcd7b668f3504d73a6914fe.tar.xz
Spend proof without txkey
Diffstat (limited to '')
-rw-r--r--src/wallet/wallet2_api.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet2_api.h b/src/wallet/wallet2_api.h
index 8d6b2ffa9..101fceebb 100644
--- a/src/wallet/wallet2_api.h
+++ b/src/wallet/wallet2_api.h
@@ -703,6 +703,8 @@ struct Wallet
virtual bool checkTxKey(const std::string &txid, std::string tx_key, const std::string &address, uint64_t &received, bool &in_pool, uint64_t &confirmations) = 0;
virtual std::string getTxProof(const std::string &txid, const std::string &address, const std::string &message, std::string &error_str) const = 0;
virtual bool checkTxProof(const std::string &txid, const std::string &address, const std::string &message, const std::string &signature, bool &good, uint64_t &received, bool &in_pool, uint64_t &confirmations) = 0;
+ virtual std::string getSpendProof(const std::string &txid, const std::string &message) const = 0;
+ virtual bool checkSpendProof(const std::string &txid, const std::string &message, const std::string &signature, bool &good) const = 0;
/*
* \brief signMessage - sign a message with the spend private key