diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-02 14:03:25 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-02 14:18:07 +0000 |
commit | 0be5b2ee78efaa242757ca8f998a091f8930788d (patch) | |
tree | d8a02f45e707087a2c8872979cfc1425f6475c04 /src/wallet/wallet2.h | |
parent | Merge pull request #5387 (diff) | |
download | monero-0be5b2ee78efaa242757ca8f998a091f8930788d.tar.xz |
simplewallet: new unset_ring command
Useful when debugging, though not much for users
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet2.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 2eb7de94a..921172988 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -1247,6 +1247,8 @@ namespace tools bool get_ring(const crypto::key_image &key_image, std::vector<uint64_t> &outs); bool get_rings(const crypto::hash &txid, std::vector<std::pair<crypto::key_image, std::vector<uint64_t>>> &outs); bool set_ring(const crypto::key_image &key_image, const std::vector<uint64_t> &outs, bool relative); + bool unset_ring(const std::vector<crypto::key_image> &key_images); + bool unset_ring(const crypto::hash &txid); bool find_and_save_rings(bool force = true); bool blackball_output(const std::pair<uint64_t, uint64_t> &output); |