From b0b7e0f09a7b7e8c8dcd7b668f3504d73a6914fe Mon Sep 17 00:00:00 2001 From: stoffu Date: Tue, 29 Aug 2017 00:34:17 +0900 Subject: Spend proof without txkey --- src/wallet/api/wallet.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/wallet/api/wallet.h') diff --git a/src/wallet/api/wallet.h b/src/wallet/api/wallet.h index ecf540f22..38e167516 100644 --- a/src/wallet/api/wallet.h +++ b/src/wallet/api/wallet.h @@ -140,6 +140,8 @@ public: virtual bool checkTxKey(const std::string &txid, std::string tx_key, const std::string &address, uint64_t &received, bool &in_pool, uint64_t &confirmations); virtual std::string getTxProof(const std::string &txid, const std::string &address, const std::string &message, std::string &error_str) const; 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); + virtual std::string getSpendProof(const std::string &txid, const std::string &message) const; + virtual bool checkSpendProof(const std::string &txid, const std::string &message, const std::string &signature, bool &good) 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 void startRefresh(); -- cgit v1.2.3