aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/ringdb.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-02-28 18:26:06 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-03-16 10:32:51 +0000
commitb09e5181cc7c24fc6cf13b4a43044833bd2763fa (patch)
treeb84eb0ddb4b59cb21a1cd478db58c173444a2f1a /src/wallet/ringdb.h
parentnew blockchain_usage tool, reports on output usage (diff)
downloadmonero-b09e5181cc7c24fc6cf13b4a43044833bd2763fa.tar.xz
wallet: add a set_ring command
This is so one can set rings for spent key images in case the attackers don't merge the ring matching patch set.
Diffstat (limited to 'src/wallet/ringdb.h')
-rw-r--r--src/wallet/ringdb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/ringdb.h b/src/wallet/ringdb.h
index 351ae5a2b..fb6b732a9 100644
--- a/src/wallet/ringdb.h
+++ b/src/wallet/ringdb.h
@@ -46,6 +46,7 @@ namespace tools
bool add_rings(const crypto::chacha_key &chacha_key, const cryptonote::transaction_prefix &tx);
bool remove_rings(const crypto::chacha_key &chacha_key, const cryptonote::transaction_prefix &tx);
bool get_ring(const crypto::chacha_key &chacha_key, const crypto::key_image &key_image, std::vector<uint64_t> &outs);
+ bool set_ring(const crypto::chacha_key &chacha_key, const crypto::key_image &key_image, const std::vector<uint64_t> &outs, bool relative);
bool blackball(const crypto::public_key &output);
bool unblackball(const crypto::public_key &output);