aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet2_api.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/wallet2_api.h
parentringdb: factor ring addition code (diff)
downloadmonero-b057a21d56a19f109a58ba873ec2fd69ee533cd5.tar.xz
wallet2_api: add ring api
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r--src/wallet/api/wallet2_api.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h
index df74e5885..b67e13ac5 100644
--- a/src/wallet/api/wallet2_api.h
+++ b/src/wallet/api/wallet2_api.h
@@ -763,6 +763,12 @@ struct Wallet
//! unblackballs an output
virtual bool unblackballOutput(const std::string &pubkey) = 0;
+ //! gets the ring used for a key image, if any
+ virtual bool getRing(const std::string &key_image, std::vector<uint64_t> &ring) const = 0;
+
+ //! sets the ring used for a key image
+ virtual bool setRing(const std::string &key_image, const std::vector<uint64_t> &ring, bool relative) = 0;
+
//! Light wallet authenticate and login
virtual bool lightWalletLogin(bool &isNewWallet) const = 0;