Skip to content

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
@acolytec3 acolytec3 mentioned this pull request May 2, 2025
9 tasks
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

3 participants