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

Fetch logs indexed by first field (tag) #9268

Closed
Tracked by #9119
nventuro opened this issue Oct 17, 2024 · 0 comments · Fixed by #9353
Closed
Tracked by #9119

Fetch logs indexed by first field (tag) #9268

nventuro opened this issue Oct 17, 2024 · 0 comments · Fixed by #9353
Assignees
Labels
C-node Component: Aztec Node team-fairies Nico's team

Comments

@nventuro
Copy link
Contributor

nventuro commented Oct 17, 2024

As the node processes logs, we'll take all that are big enough to hold a Field at the beginning (i.e. at least 32 bytes long), and will store them indexed by this value (called tag). We'll then be able to query all logs with a given tag.

Note that there may be more than one log with the same tag. The API also needs to be able to let the caller know if a given tag has no logs.

@Thunkar Thunkar self-assigned this Oct 22, 2024
@nventuro nventuro changed the title Fetch logs indexed by first field (exposed via oracle) Fetch logs indexed by first field Oct 22, 2024
@nventuro nventuro added team-fairies Nico's team C-node Component: Aztec Node labels Oct 22, 2024
@nventuro nventuro changed the title Fetch logs indexed by first field Fetch logs indexed by first field (tag) Oct 22, 2024
nventuro added a commit that referenced this issue Oct 24, 2024
Closes: #9268

Indexes L2 encrypted note logs by their first field in the archiver, so
they can later be queried via the node's RPC interface. This is intended
to be used by PXE to retrieve tagged notes and avoid brute force trial
decrypting.

---------

Co-authored-by: Nicolás Venturo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-node Component: Aztec Node team-fairies Nico's team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants