aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/ringdb.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-02-25 19:20:07 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-16 10:32:37 +0000
commitd29ea0455a34c2d08c681dacdf809e7f7317d2b3 (patch)
treedd0c0267049c52756c272d2e73964183d981e8b1 /src/wallet/ringdb.h
parentwallet: key reuse mitigation options (diff)
downloadmonero-d29ea0455a34c2d08c681dacdf809e7f7317d2b3.tar.xz
wallet: add an output blackball list to avoid using those in rings
Diffstat (limited to '')
-rw-r--r--src/wallet/ringdb.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/wallet/ringdb.h b/src/wallet/ringdb.h
index 3edb57804..5aea47075 100644
--- a/src/wallet/ringdb.h
+++ b/src/wallet/ringdb.h
@@ -41,5 +41,10 @@ namespace tools
bool add_rings(const std::string &filename, const crypto::chacha_key &chacha_key, const cryptonote::transaction_prefix &tx);
bool remove_rings(const std::string &filename, const crypto::chacha_key &chacha_key, const cryptonote::transaction_prefix &tx);
bool get_ring(const std::string &filename, const crypto::chacha_key &chacha_key, const crypto::key_image &key_image, std::vector<uint64_t> &outs);
+
+ bool blackball(const std::string &filename, const crypto::public_key &output);
+ bool unblackball(const std::string &filename, const crypto::public_key &output);
+ bool blackballed(const std::string &filename, const crypto::public_key &output);
+ bool clear_blackballs(const std::string &filename);
}
}