ouroboros-network icon indicating copy to clipboard operation
ouroboros-network copied to clipboard

Avoid pipelining of future blocks

Open bartfrenk opened this issue 3 years ago • 0 comments

Description

Supersedes https://github.com/input-output-hk/ouroboros-network/pull/4310.

Updates chain selection to first check for blocks from the future before setting the tentative header. This avoids pipelining blocks from the future.

  • https://github.com/input-output-hk/ouroboros-network/commit/1bc91356a75a1bb02b1c154cfdc884c8cf407d5a by @nfrisby.
  • Testing to ensure future blocks are not emitted to followers.

Checklist

  • Branch
    • [ ] Commit sequence broadly makes sense
    • [ ] Commits have useful messages
    • [x] New tests are added if needed and existing tests are updated
    • [x] Any changes affecting Consensus packages must have an entry in the appropriate changelog.d directory created using scriv. If in doubt, see the Consensus release process.
  • Pull Request
    • [x] Self-reviewed the diff
    • [ ] Useful pull request description at least containing the following information:
      • What does this PR change?
      • Why these changes were needed?
      • How does this affect downstream repositories and/or end-users?
      • Which ticket does this PR close (if any)? If it does, is it linked?
    • [ ] Reviewer requested

bartfrenk avatar Feb 02 '23 13:02 bartfrenk