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

implement fork choice rule using primary/secondary blocks #2249

Closed
noot opened this issue Jan 27, 2022 · 0 comments · Fixed by #2254
Closed

implement fork choice rule using primary/secondary blocks #2249

noot opened this issue Jan 27, 2022 · 0 comments · Fixed by #2254
Assignees

Comments

@noot
Copy link
Contributor

noot commented Jan 27, 2022

Task summary

  • gossamer and polkadot currently are implementing different selection algos for the best chain. gossamer uses the older algo which is just longest chain + earlier block to tiebreak. however polkadot is weighting blocks built w primary slots higher than those built by secondary slots.
  • see here https://wiki.polkadot.network/docs/learn-consensus#fork-choice

related to #1356

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants