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

Indexing: Handle LogAddressIndex queries via an IndexProvider #18

Closed
4 tasks done
froch opened this issue Feb 4, 2022 · 2 comments · Fixed by #19
Closed
4 tasks done

Indexing: Handle LogAddressIndex queries via an IndexProvider #18

froch opened this issue Feb 4, 2022 · 2 comments · Fixed by #19
Assignees

Comments

@froch
Copy link
Contributor

froch commented Feb 4, 2022

We want to be able to find and serve LogAddressIndex indexes


Acceptance Criteria:

  • create a LogAddressIndexProvider conforming to the bstream.IndexProvider interface
  • determine if a given block number is within an index
  • determine if a given block number matches an element in an index
  • fetch and return all next matching indexes for a given block number
@froch froch self-assigned this Feb 4, 2022
@froch
Copy link
Contributor Author

froch commented Feb 4, 2022

Whiteboard of the flow for querying an IndexProvider

image (1)

@sduchesneau
Copy link
Contributor

bstream branch stepd/index-provider contains the (almost-complete) code for querying the logAddressIndex from the IrrIndexProvider...
names will have to be reworked in that last one to prevent confusion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants