firoorg / firo

The privacy-focused cryptocurrency
https://firo.org
MIT License
720 stars 354 forks source link

Used Elysium-layer Lelantus mints are sometimes not marked as used. #1142

Closed ghost closed 1 year ago

ghost commented 2 years ago

Sometimes (fairly frequently, but not in most cases), used Elysium-layer lelantus mints are not marked as used. This may or may not be related to transactions being rejected from the mempool due to reusing base layer Lelantus inputs (see #1140). You can see the used Lelantus inputs in elysium_listlelantusmints, where they should not be.

Hints:

Work on this and other Elysium issues is currently being done in the client-api-elysium branch. Relevant commits should later be cherry-picked and merged to the elysium-lelantus branch after work is done. I recommend testing with the functionality in firo-client's elysium branch, as it greatly simplifies the usage of Elysium functionality and is what will ultimately be what users interact with.