Skip to content

Elaborate the EB diffusion section of leios-design/README.md - #1005

Open
nfrisby wants to merge 7 commits into
mainfrom
nfrisby/leios-design-updates-202607
Open

Elaborate the EB diffusion section of leios-design/README.md#1005
nfrisby wants to merge 7 commits into
mainfrom
nfrisby/leios-design-updates-202607

Conversation

@nfrisby

@nfrisby nfrisby commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

This PR significantly elaborates the "Endorser block diffusion" section of the design document.

It includes the core of the plan that came out of the last few months of LeiosFetch design. It also includes explicit and detailed discussion of bounding memory usage, etc.

@nfrisby
nfrisby requested a review from ch1bo July 29, 2026 10:37
@nfrisby nfrisby self-assigned this Jul 29, 2026
@nfrisby nfrisby moved this to 🏗 In progress in Consensus Team Backlog Jul 29, 2026
@nfrisby

nfrisby commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

Sebastian already gave me some review on some of this, but it wasn't on a PR... I'll track that down and copy it over.


TODO refine to FreshestLast among the most recent L slots and FreshestFirst among older slots in order to also address RSK-LeiosProtocolStorm

#### Tolerating equivocation even despite $L_\text{hdr}$ violations

@nfrisby nfrisby Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Reading from this point and stopping before "### Endorser block storage" might provide good context for reviewers of IntersectMBO/ouroboros-consensus#2132.

But recall: that PR only introduces diffusion of EB announcements---it doesn't already gate LeiosFetch or LeiosVoting on them.

@nfrisby

nfrisby commented Jul 29, 2026

Copy link
Copy Markdown
Contributor Author

PR is draft at least because some of the commits need better messages

@@ -548,37 +548,259 @@ The first version of the Mempool can be naive, with the block production thread

### Endorser block diffusion

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I found Sebastian's original review:


A few first notes:

As a result, opcert revocation for EB announcements is delayed until the incremented OCIN becomes immutable, after ~12 hr when Chain Growth is healthy and up to ~36 hr when it isn't.
That's tolerable: it just means a leaked key allows the attacker to equivocate (hence mostly nullify) the victim's EB announcements until their revocation becomes immutable.
Crucially, ChainSync doesn't change its behavior: it still enforces the OCIN bounds on the specific header chain, which is as precise and prompt as possible.
- (TODO hmm.. what if the attacker sends a _fresh_ announcement that uses the revoked OCIN _just before_ it becomes immutable?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Issue #1029 tracks this TODO.

PR IntersectMBO/ouroboros-consensus#2179 fixes this TODO (differently than the "Perhaps" listed here)

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.

1 participant