diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-02-25 19:20:07 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2018-03-16 10:32:37 +0000 |
commit | d29ea0455a34c2d08c681dacdf809e7f7317d2b3 (patch) | |
tree | dd0c0267049c52756c272d2e73964183d981e8b1 /src/wallet/wallet2.h | |
parent | wallet: key reuse mitigation options (diff) | |
download | monero-d29ea0455a34c2d08c681dacdf809e7f7317d2b3.tar.xz |
wallet: add an output blackball list to avoid using those in rings
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 979372851..e446da3fd 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -1058,6 +1058,11 @@ namespace tools bool get_ring(const std::string &filename, const crypto::key_image &key_image, std::vector<uint64_t> &outs); bool find_and_save_rings(const std::string &filename, bool force = true); + bool blackball_output(const crypto::public_key &output); + bool set_blackballed_outputs(const std::vector<crypto::public_key> &outputs, bool add = false); + bool unblackball_output(const crypto::public_key &output); + bool is_output_blackballed(const crypto::public_key &output) const; + private: /*! * \brief Stores wallet information to wallet file. |