This repository was archived by the owner on Jan 22, 2025. It is now read-only.
bank: Prune older epoch stakes#7668
Merged
mvines merged 2 commits intosolana-labs:masterfrom Jan 4, 2020
Merged
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Contributor
Author
|
🐣 |
Contributor
Author
mvines
commented
Jan 4, 2020
|
|
||
| pub const SECONDS_PER_YEAR: f64 = (365.25 * 24.0 * 60.0 * 60.0); | ||
|
|
||
| pub const MAX_LEADER_SCHEDULE_STAKES: Epoch = 5; |
Contributor
Author
There was a problem hiding this comment.
5? 🤷♂ - I have no reason for 5 over any other number at the moment
Contributor
Author
|
@rob-solana or @sagar-solana - would you mind quickly scanning this PR? It's pretty close to @ryoqun's original work |
Contributor
Author
|
I'm going to land this to get some test mileage on it before TdS DR6 on Tuesday. Post-merge review very welcome! |
Contributor
|
LGTM |
Contributor
|
the only thing holding up @ryoqun's PR was a disposition for absent epoch stakes via RPC. if that's covered now, all good. |
sakridge
pushed a commit
to sakridge/solana
that referenced
this pull request
Jan 14, 2020
This was referenced Oct 20, 2025
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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Fixes #6991