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

Make blob sidecars available via REST API #98

Open
zilm13 opened this issue Jul 31, 2024 · 1 comment
Open

Make blob sidecars available via REST API #98

zilm13 opened this issue Jul 31, 2024 · 1 comment

Comments

@zilm13
Copy link
Collaborator

zilm13 commented Jul 31, 2024

If you are NOT a super node, and a user calls the beacon API endpoint /eth/v1/beacon/blob_sidecars/{block_id}, then you:

  • Call P2P DataColumnSidecarsByRoot to your peers in order to have 50% of the columns.
  • Once you get at least 50% of the columns, you trigger a reconstruction.
  • Now you have 100% of the columns, meaning you have 100% of the blobs
  • You are now able to respond to your user's beacon API endpoint /eth/v1/beacon/blob_sidecars/{block_id} call

If you are already a super node and if you only store data columns (not blobs), you can skip the first step.
If you are already a super and and if your store blobs, you can skip the first two steps. (we could introduce some flag to store blobs)

@zilm13
Copy link
Collaborator Author

zilm13 commented Aug 13, 2024

  • if you are a super node you must be able to answer with blobSidecars on any request during min epochs to store. (Currently this is not working unless Teku is proposer)

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