-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Add RestartLastVotedForkSlots for wen_restart. #33239
Merged
wen-coding
merged 20 commits into
solana-labs:master
from
wen-coding:wen_restart_gossip_change
Oct 9, 2023
Merged
Changes from 18 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
ce81bbc
Add RestartLastVotedForkSlots and RestartHeaviestFork for wen_restart.
wen-coding 0edf40e
Fix linter errors.
wen-coding 1ec981b
Merge branch 'master' into wen_restart_gossip_change
wen-coding a3749b2
Revert RestartHeaviestFork, it will be added in another PR.
wen-coding 79bedf8
Merge branch 'master' into wen_restart_gossip_change
wen-coding 719534d
Merge branch 'master' into wen_restart_gossip_change
wen-coding 25e0117
Update frozen abi message.
wen-coding 1fcc81d
Fix wrong number in test generation, change to pub(crate) to limit sc…
wen-coding b7077a7
Separate push_epoch_slots and push_restart_last_voted_fork_slots.
wen-coding 354673a
Add RestartLastVotedForkSlots data structure.
wen-coding 0028f64
Remove unused parts to make PR smaller.
wen-coding 46d2054
Remove unused clone.
wen-coding cc11d42
Use CompressedSlotsVec to share code between EpochSlots and RestartLa…
wen-coding b0cead0
Merge branch 'master' into wen_restart_gossip_change
wen-coding 5b7a724
Add total_messages to show how many messages are there.
wen-coding 4821d8a
Merge branch 'master' into wen_restart_gossip_change
wen-coding ae8d01d
Reduce RestartLastVotedForkSlots to one packet (16k slots).
wen-coding 1ee2699
Replace last_vote_slot with shred_version, revert CompressedSlotsVec.
wen-coding 78a9ded
Merge branch 'master' into wen_restart_gossip_change
wen-coding 866228b
Merge branch 'master' into wen_restart_gossip_change
wen-coding 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 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 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 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 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 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
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.
I would add
shred_version
here too.It is only 2 bytes, and we need to filter on matching
shred_version
.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.
Done.