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

Implement support for ephemeral headers #733

Merged
merged 18 commits into from
Feb 28, 2025
Merged

Implement support for ephemeral headers #733

merged 18 commits into from
Feb 28, 2025

Conversation

acolytec3
Copy link
Collaborator

@acolytec3 acolytec3 commented Feb 14, 2025

Internal work related to support for ephemeral headers - partially fixes #741

  • Implement support for storing/retrieving ephemeral headers in the HistoryNetwork DB
  • Maintain an ephemeralHeaderIndex of block numbers to hashes - this is stored in memory for ready access to the headers (which are only stored by blockhash in the DB)
  • Report the current number of ephemeral headers contained in our DB in the History_Radius ping/pong payloads
    • Add pingPongPayload to HistoryNetwork - added the History Network specific payload extension here
    • Remove History_Radius from BaseNetwork - Removed from base network as it doesn't make sense to have specific subnetwork stuff in our BaseNetwork class

Base automatically changed from remove-proof-union to master February 21, 2025 15:32
@acolytec3 acolytec3 marked this pull request as ready for review February 27, 2025 20:00
Copy link
Collaborator

@ScottyPoi ScottyPoi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@acolytec3 acolytec3 merged commit a0cca03 into master Feb 28, 2025
4 checks passed
@acolytec3 acolytec3 deleted the ephemeral-headers branch February 28, 2025 01:27
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 this pull request may close these issues.

Implement support for ephemeral headers
2 participants