Skip to content

Resume ballot on top of overlay v2 - #5416

Closed
marta-lokhova wants to merge 4 commits into
stellar:overlay-v2-Aug3-rebasedfrom
marta-lokhova:resumeBallotOnTopOfOverlayV2
Closed

Resume ballot on top of overlay v2#5416
marta-lokhova wants to merge 4 commits into
stellar:overlay-v2-Aug3-rebasedfrom
marta-lokhova:resumeBallotOnTopOfOverlayV2

Conversation

@marta-lokhova

Copy link
Copy Markdown
Contributor

Pick up @bboston7's changes from #5346 for testing

This change allows stellar-core to quickly resume balloting when a
transaction set arrives, rather than waiting for a ballot timeout to
resume.

It creates a registry of stalled slots, and checks tx sets that arrive to
see if they could potentially unstick those slots. A stall can only be
resolved by a tx set if the ballot protocol has not undergone any
changes since hitting the stall point. This prevents prevents us from
resuming with a ballot when the node may have moved on to a different
value.

This change also adds `c` to the calculation of ballot ordering. This is
necessary because without it, a node that exercises this quick-resume
path has no way of informing the network as they will discard a ballot
where the other variables are unchanged.
Copilot AI balanced review requested due to automatic review settings August 13, 2026 00:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review this pull request because it exceeds the maximum number of lines (20,000). Try reducing the number of changed lines and requesting a review from Copilot again.

@marta-lokhova
marta-lokhova changed the base branch from master to overlay-v2-Aug3-rebased August 13, 2026 00:23
@marta-lokhova
marta-lokhova deleted the branch stellar:overlay-v2-Aug3-rebased August 14, 2026 19:17
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.

3 participants