aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-05 15:04:59 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-16 10:33:05 +0000
commitb057a21d56a19f109a58ba873ec2fd69ee533cd5 (patch)
tree27941f7c3e490ab9efa1eab2f42a7d019325bced /src/wallet/api/wallet.h
parentringdb: factor ring addition code (diff)
downloadmonero-b057a21d56a19f109a58ba873ec2fd69ee533cd5.tar.xz
wallet2_api: add ring 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 2bc34c592..9d40008d1 100644
--- a/src/wallet/api/wallet.h
+++ b/src/wallet/api/wallet.h
@@ -165,6 +165,8 @@ public:
virtual bool lightWalletImportWalletRequest(std::string &payment_id, uint64_t &fee, bool &new_request, bool &request_fulfilled, std::string &payment_address, std::string &status);
virtual bool blackballOutputs(const std::vector<std::string> &pubkeys, bool add);
virtual bool unblackballOutput(const std::string &pubkey);
+ virtual bool getRing(const std::string &key_image, std::vector<uint64_t> &ring) const;
+ virtual bool setRing(const std::string &key_image, const std::vector<uint64_t> &ring, bool relative);
private:
void clearStatus() const;