aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/api/wallet2_api.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-30 08:10:30 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-09-30 08:10:30 +0000
commit6da36ea05745f2ca8821d3b1d3e185e0ad0c9c60 (patch)
tree1d28a0b25d9e1901360a01b423e45b4e69c5a832 /src/wallet/api/wallet2_api.h
parentMerge pull request #4333 (diff)
downloadmonero-6da36ea05745f2ca8821d3b1d3e185e0ad0c9c60.tar.xz
wallet2_api: blackball/unblackball now take two parameters
amount and offset (instead of pubkey)
Diffstat (limited to '')
-rw-r--r--src/wallet/api/wallet2_api.h5
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;