-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicated nullifiers #49
Comments
Two proposed solutions:
|
One observation: for public notes there could be a mitigation mechanism at the node level. Specifically, nodes would know if a given note has a duplicate nullifier and could take various actions based on that. For example:
These, of course, don't solve the issue with private/encrypted notes as the nodes won't be able to compute nullifiers for these - so, a separate endpoint will still probably be required to address these. |
We now have an endpoint to list the nullifiers: miden-node/proto/proto/store.proto Line 17 in 58be273
If we add filtering to the request, it would be sufficient to fix this issue. |
|
Closing as we now have |
This issue is coming from the points in this comment: #43 (comment)
The observations are:
n1
with nullifierl
, then some time later produce another noten2
with the same nullifierl
. Clients can learn about the noten2
, verify there is no nullifierl
produced aftern2
, and try to consume that note. This won't work becausen1
has been consumed already, and the same nullifier has been producedThe text was updated successfully, but these errors were encountered: