-
Notifications
You must be signed in to change notification settings - Fork 369
rework tower #6524
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
Merged
Merged
rework tower #6524
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1369,6 +1369,27 @@ user = "" | |
| # TODO: What is this ... needs to be deleted | ||
| cluster_version = "1.18.0" | ||
|
|
||
| # The tower tile runs the fork choice and tower rules to determine | ||
| # both what block to vote on and what block to build our own leader | ||
| # blocks on top of. | ||
| [tiles.tower] | ||
| # Firedancer can process at most this many slots without rooting | ||
| # in the consensus rules before it must begin evicting. | ||
| # | ||
| # This is an estimate and should be set as generously as | ||
| # possible to allow for temporary outages such as network | ||
| # partitions. For example, the validator might get disconnected | ||
| # from part of the cluster due to data center issues. Roughly, | ||
| # the default of 4096 allows for 30 minutes without rooting. | ||
| # | ||
| # Specifically, tower will ignore gossip votes that exceed max | ||
| # unrooted slots ahead of the current root. Additionally, both | ||
| # fork choice and tower structures will OOM and cause Firedancer | ||
| # to exit if it needs to maintain more than max unrooted slots | ||
| # tower forks (TODO in the future Firedancer will instead | ||
| # gracefully degrade by evicting forks). | ||
| max_unrooted_slots = 4096 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I still really don't buy that this limit needs to exist. |
||
|
|
||
| [tiles.send] | ||
| # The port the send tile uses for QUIC, to send votes and other | ||
| # transactions. It also uses this as the UDP src port. | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is operator facing so don't leave TODOs unless they are immediate.