Skip to content

Simplex Block Builder Component #4159

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

Draft
wants to merge 2 commits into
base: simplex-storage
Choose a base branch
from
Draft

Simplex Block Builder Component #4159

wants to merge 2 commits into from

Conversation

samliok
Copy link
Contributor

@samliok samliok commented Aug 6, 2025

Why this should be merged

This PR introduces the BlockBuilder component for Simplex. The BlockBuilder is responsible for building blocks when requested by consensus as well as notifying consensus a block is ready to be built.

How this works

The BlockBuilderstruct has two methods

  1. BuildBlock builds a block when requested by a simplex node.
  2. IncomingBlock notifies consensus that a block is ready to be built. If no blocks are proposed in Simplex, either the Simplex node is faulty(or offline), or there are no blocks to propose. Therefore when IncomingBlock notifies consensus, our node should expect a block proposal. If no proposals arrive within a certain time, our node sends an empty vote and attempts to proceed to the next round.

How this was tested

Need to be documented in RELEASES.md?

@samliok samliok marked this pull request as draft August 6, 2025 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

1 participant