mirror of
https://github.com/monero-project/monero.git
synced 2025-07-27 03:25:23 -04:00
wallet: more user friendly print_ring
It can now take a txid (to display rings for all its inputs), and will print rings in a format that set_ring understands
This commit is contained in:
parent
798535149d
commit
eac3a11ed3
6 changed files with 101 additions and 15 deletions
|
@ -766,6 +766,9 @@ struct Wallet
|
|||
//! gets the ring used for a key image, if any
|
||||
virtual bool getRing(const std::string &key_image, std::vector<uint64_t> &ring) const = 0;
|
||||
|
||||
//! gets the rings used for a txid, if any
|
||||
virtual bool getRings(const std::string &txid, std::vector<std::pair<std::string, std::vector<uint64_t>>> &rings) const = 0;
|
||||
|
||||
//! sets the ring used for a key image
|
||||
virtual bool setRing(const std::string &key_image, const std::vector<uint64_t> &ring, bool relative) = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue