wallet2_api: add blackball api

This commit is contained in:
moneromooo-monero 2018-03-04 13:32:35 +00:00
parent 2ab66ff1d4
commit a7da8208f5
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
4 changed files with 65 additions and 0 deletions

View file

@ -33,6 +33,7 @@
#include <string>
#include <vector>
#include <list>
#include <set>
#include <ctime>
#include <iostream>
@ -756,6 +757,12 @@ struct Wallet
*/
virtual bool rescanSpent() = 0;
//! blackballs a set of outputs
virtual bool blackballOutputs(const std::vector<std::string> &pubkeys, bool add) = 0;
//! unblackballs an output
virtual bool unblackballOutput(const std::string &pubkey) = 0;
//! Light wallet authenticate and login
virtual bool lightWalletLogin(bool &isNewWallet) const = 0;