Skip to content

Commit 807ce37

Browse files
authored
ChainSel.ReprocessLoEBlocks: avoid transient chain switches (#1617)
Closes #1616 The commits are intended to be reviewed individually. - The first seven commits are preparatory refactorings of the existing logic; they (intentionally) do not fix the bug, and actually might be of independent interest, breaking up the huge `chainSelectionForBlock` function. Using structural diffing via eg [difftastic](https://github.com/Wilfred/difftastic) might be useful while reviewing. - The last commit fixes the bug as described in #1616.
2 parents 1ea373f + 3ee8d09 commit 807ce37

File tree

4 files changed

+352
-391
lines changed

4 files changed

+352
-391
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
### Breaking
2+
3+
- Changed `SelectionChangedInfo.newTipTrigger` (contained in tracing types) to
4+
be a `Maybe` to accurately reflect Ouroboros Genesis-related (Limit on
5+
Eagerness) triggered chain selection.

0 commit comments

Comments
 (0)