diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-05 15:04:59 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-16 10:33:05 +0000 |
| commit | b057a21d56a19f109a58ba873ec2fd69ee533cd5 (patch) | |
| tree | 27941f7c3e490ab9efa1eab2f42a7d019325bced /src/wallet/api/wallet2_api.h | |
| parent | d32ef7b0f25af2d7617da375b30fa76dae3affd1 (diff) | |
| download | monzero-core-b057a21d56a19f109a58ba873ec2fd69ee533cd5.tar.gz monzero-core-b057a21d56a19f109a58ba873ec2fd69ee533cd5.tar.xz monzero-core-b057a21d56a19f109a58ba873ec2fd69ee533cd5.zip | |
wallet2_api: add ring api
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
| -rw-r--r-- | src/wallet/api/wallet2_api.h | 6 |
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; |
