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

ChainDB chain selection: account for weights/boosts by certificates #7

Open
amesgen opened this issue Jan 16, 2025 · 0 comments
Open
Labels
chaindb Related to the ChainDB

Comments

@amesgen
Copy link
Member

amesgen commented Jan 16, 2025

Currently, chain selection is written under the assumption that chains can be compared purely based on their tip header (specifically, their SelectView). With Peras, this has to change in order to account for certificates giving a boost/extra weight to certain blocks, which can dynamically change over time.

The goal of this ticket is to:

  1. Design a mechanism for the abstract Consensus layer how chains can be compared while taking weight/boosts by certificates into account.

  2. Explain how to modify the existing ChainSel logic to account for certificates. In particular, certificates will usually arrive later than the block they are providing a boost for.

@amesgen amesgen added the chaindb Related to the ChainDB label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chaindb Related to the ChainDB
Projects
None yet
Development

No branches or pull requests

1 participant