diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-11-25 19:48:56 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-11-25 19:48:56 +0200 |
commit | 539f511eb1991423ca38ad5da8977de36cce8481 (patch) | |
tree | f4088828cf8f125f64aaa4e5f430fb23f234ad9f /src/wallet/api/wallet.h | |
parent | Merge pull request #2794 (diff) | |
parent | Spend proof without txkey (diff) | |
download | monero-539f511eb1991423ca38ad5da8977de36cce8481.tar.xz |
Merge pull request #2368
b0b7e0f0 Spend proof without txkey (stoffu)
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 50d46fc19..8ceabc843 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) 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(); |