wallet2_api: add ring api

This commit is contained in:
moneromooo-monero 2018-03-05 15:04:59 +00:00
parent d32ef7b0f2
commit b057a21d56
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
3 changed files with 46 additions and 0 deletions

View file

@ -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;