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

Missing bulk bid trace request #2

Open
tdahar opened this issue Apr 4, 2024 · 0 comments
Open

Missing bulk bid trace request #2

tdahar opened this issue Apr 4, 2024 · 0 comments

Comments

@tdahar
Copy link

tdahar commented Apr 4, 2024

Motivation

The Relay API allows anyone to query data from the relay, such as gathering which blocks in the canonical chain included an execution payload offered by the given relay.
The API offers the ability to do this by slot, or by a range of slots. See here for more details.

Description

This repository does not include the request by a range of slots (bulk), which could reduce the amount of queries to the API. This not only lowers the load on the relay but reduces the possibility of being banned (the API could have DoS detection and label us as an attacker, for example). To do this, the same function could be copied and modified to use different parameters.
Those would be:

  • cursor
  • limit

I have implemented the feature already. If you wish to get this included I could open a pull request.

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

No branches or pull requests

1 participant