feat(mining-slot): derive GRANDPA from recent mining activity#417
Draft
blakebyrnes wants to merge 2 commits intomainfrom
Draft
feat(mining-slot): derive GRANDPA from recent mining activity#417blakebyrnes wants to merge 2 commits intomainfrom
blakebyrnes wants to merge 2 commits intomainfrom
Conversation
Rotate GRANDPA authorities every 240 blocks using recently active mining operators, with a 3-rotation activity window and 2x liveness fallback window. Normalize to a fixed 10,000 vote budget, enforce a 15% max per-authority share when feasible, and fall back to equal weighting below the 7-authority minimum needed to enforce that bound. Also add node-side single-local-GRANDPA-key guards at startup and runtime to reduce accidental double-vote misconfiguration.
8b360e3 to
c889f4a
Compare
Contributor
Author
|
@copilot can you review this before i mark public? |
|
@blakebyrnes I've opened a new pull request, #418, to work on those changes. Once the pull request is ready, I'll request review from you. |
Apply clippy-suggested inline format arguments in the multi-key GRANDPA guard error message to keep lint green.
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Rotate GRANDPA authorities every 240 blocks using recently active mining operators, with a 3-rotation activity window and 2x liveness fallback window.
Normalize to a fixed 10,000 vote budget, enforce a 15% max per-authority share when feasible, and fall back to equal weighting below the 7-authority minimum needed to enforce that bound.
Also add node-side single-local-GRANDPA-key guards at startup and runtime to reduce accidental double-vote misconfiguration.