diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-04 13:32:35 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-16 10:32:59 +0000 |
commit | a7da8208f5b26426f1562c01a06afcc775681c2b (patch) | |
tree | 42684fea7de09a72a1b7565423dfc5d9d481403f /src/wallet/api/wallet2_api.h | |
parent | liblmdb: install lmdb library for wallet2_api usage (diff) | |
download | monero-a7da8208f5b26426f1562c01a06afcc775681c2b.tar.xz |
wallet2_api: add blackball api
Diffstat (limited to '')
-rw-r--r-- | src/wallet/api/wallet2_api.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wallet/api/wallet2_api.h b/src/wallet/api/wallet2_api.h index 87c1cccfa..df74e5885 100644 --- a/src/wallet/api/wallet2_api.h +++ b/src/wallet/api/wallet2_api.h @@ -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; |