Skip to content

feat(mining-slot): derive GRANDPA from recent mining activity#417

Draft
blakebyrnes wants to merge 2 commits intomainfrom
pr/add-multigrandpa-voter-support
Draft

feat(mining-slot): derive GRANDPA from recent mining activity#417
blakebyrnes wants to merge 2 commits intomainfrom
pr/add-multigrandpa-voter-support

Conversation

@blakebyrnes
Copy link
Contributor

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.

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.
@blakebyrnes blakebyrnes force-pushed the pr/add-multigrandpa-voter-support branch from 8b360e3 to c889f4a Compare February 27, 2026 19:38
@blakebyrnes
Copy link
Contributor Author

@copilot can you review this before i mark public?

Copy link

Copilot AI commented Feb 27, 2026

@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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants