Skip to content
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

Support forced note-discovery resync #9369

Closed
Tracked by #9119
nventuro opened this issue Oct 23, 2024 · 1 comment · Fixed by #10093
Closed
Tracked by #9119

Support forced note-discovery resync #9369

nventuro opened this issue Oct 23, 2024 · 1 comment · Fixed by #10093
Labels
C-aztec.js Component: aztec.js client library C-pxe Component: PXE (Private eXecution Envrionment) team-fairies Nico's team

Comments

@nventuro
Copy link
Contributor

nventuro commented Oct 23, 2024

Once #9365 goes in, it should be fairly easy to wipe the indices for any given contract, causing for them to process all tags when they next do note discovery. This could help with scenarios in which the sender has accidentally re-used old indices, e.g. due to sending from multiple out-of-sync devices.

Any notes that were previously known and have been found again would simply be skipped.

@nventuro nventuro changed the title Support forced resync Support forced note-discovery resync Oct 23, 2024
@nventuro nventuro added C-aztec.js Component: aztec.js client library team-fairies Nico's team C-pxe Component: PXE (Private eXecution Envrionment) labels Oct 23, 2024
@github-project-automation github-project-automation bot moved this to Todo in A3 Oct 28, 2024
@nventuro
Copy link
Contributor Author

nventuro commented Nov 4, 2024

See this comment from #9572

I'm thinking it might make sense to refactor the taggingSecretIndexes db to be easier to use (instead of indexing by the index, maybe exposing an API like getReceptionTaggingSecret(sender) and getTransmissionTaggingSecret(recipient). That way we can clean up the indexes when we remove someone from the addressbook?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-aztec.js Component: aztec.js client library C-pxe Component: PXE (Private eXecution Envrionment) team-fairies Nico's team
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant