Skip to content
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

wen_restart: Change HeaviestFork stage to a leader based approach. #2923

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

wen-coding
Copy link

The original all distributed HeaviestFork aggregation can lead to divergence when different validators sees different messages.

Change to a leader based approach to guarantee convergence:

  • Only the leader sends out HeaviestFork message, and it keeps sending out HeaviestFork every 5 minutes until manually stopped
  • All others only accept HeaviestFork from the leader. After getting HeaviestFork from the leader, they would do verification and then use the (slot, hash) specified by the leader.

@wen-coding wen-coding marked this pull request as draft September 13, 2024 17:10
@wen-coding wen-coding marked this pull request as ready for review September 17, 2024 07:38
@wen-coding wen-coding self-assigned this Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

1 participant