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

Add an extra header parameter to BlockFetchConsensusInterface #5010

Conversation

dnadales
Copy link
Member

@dnadales dnadales commented Nov 6, 2024

This parameter is currently called selectionHeader. This change allow us to use two header types in the interface. The header type, now is intended to convey additional information, in particular the slot time at which the header was downloaded. In this way we can address this
issue
which allow us to simplify Consensus time conversions. Additionally, this change will enable us to remove FromConsensus data and the precondition of headerForgeUTCTime.

The selectionHeader type will typically denote a raw header.

Description

reasonably detailed description of the pull request

Checklist

Quality

  • Commit sequence makes sense and have useful messages, see ref.
  • New tests are added and existing tests are updated.
  • Self-reviewed the PR.

Maintenance

  • Linked an issue or added the PR to the current sprint of ouroboros-network project.
  • Added labels.
  • Updated changelog files.
  • The documentation has been properly updated, see ref.

This parameter is currently called `selectionHeader`. This change
allow us to use two header types in the interface. The `header` type,
now is intended to convey additional information, in particular the
slot time at which the header was downloaded. In this way we can
address [this
issue](IntersectMBO/ouroboros-consensus#1301)
which allow us to simplify Consensus time conversions. Additionally,
this change will enable us to remove `FromConsensus` data and
the precondition of `headerForgeUTCTime`.

The `selectionHeader` type will typically denote a raw header.
@dnadales
Copy link
Member Author

dnadales commented Dec 2, 2024

Closing as per this comment.

@dnadales dnadales closed this Dec 2, 2024
@amesgen amesgen deleted the dnadales/annotate-headers-with-time branch December 2, 2024 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant