Monero Asked by trijia on December 9, 2021
For research purposes, I want to know the following:
is_key_image_spent
api, we can check if a key image is a member of the set of already spent key images or not. Can this set be made a zero-knowledge set using some accumulator so that a zero-knowledge set membership or non-membership proof can be given for a particular group element (key image) bypassing this api? Does there exist any accumulator suitable for this purpose?Thanks in advance for your insights.
What is the exact size of the set of already spent key images and how it can be checked? Do we need to download the Monero blockchain to get the size?
Yes, you'd need to download the blockchain. Once you have synced the blockchain, you can obtain the count of spent key images by inspecting the database like:
mdb_stat -s spent_keys ~/.bitmonero/lmdb/
...
Entries: 35830820
Using the
is_key_image_spent
api, we can check if a key image is a member of the set of already spent key images or not. Can this set be made a zero-knowledge set...
Key images already provide a form of zero-knowledge proof - proof that there is no double-spend without divulging which output is being spent. Each ring of outputs (so tx inputs) has a key image which is unique to one of the outputs in the ring but crucially doesn't divulge which is the actual output being spent.
Answered by jtgrassie on December 9, 2021
Answered by koe on December 9, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP