diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-09-30 08:10:30 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-09-30 08:10:30 +0000 |
commit | 6da36ea05745f2ca8821d3b1d3e185e0ad0c9c60 (patch) | |
tree | 1d28a0b25d9e1901360a01b423e45b4e69c5a832 /src/wallet/api/wallet2_api.h | |
parent | Merge pull request #4333 (diff) | |
download | monero-6da36ea05745f2ca8821d3b1d3e185e0ad0c9c60.tar.xz |
wallet2_api: blackball/unblackball now take two parameters
amount and offset (instead of pubkey)
Diffstat (limited to 'src/wallet/api/wallet2_api.h')
-rw-r--r-- | src/wallet/api/wallet2_api.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h index e0d491705..68ea26262 100644 --- a/src/wallet/api/wallet2_api.h +++ b/src/wallet/api/wallet2_api.h @@ -881,7 +881,10 @@ struct Wallet virtual bool rescanSpent() = 0; //! blackballs a set of outputs - virtual bool blackballOutputs(const std::vector<std::string> &pubkeys, bool add) = 0; + virtual bool blackballOutputs(const std::vector<std::string> &outputs, bool add) = 0; + + //! blackballs an output + virtual bool blackballOutput(const std::string &amount, const std::string &offset) = 0; //! unblackballs an output virtual bool unblackballOutput(const std::string &amount, const std::string &offset) = 0; |