Skip to content

MCP-14: add vote-gate threshold and delayed-bankhash checks#38

Open
aeyakovenko wants to merge 306 commits intoanza-xyz:masterfrom
aeyakovenko:issue-16-mcp-vote-gate
Open

MCP-14: add vote-gate threshold and delayed-bankhash checks#38
aeyakovenko wants to merge 306 commits intoanza-xyz:masterfrom
aeyakovenko:issue-16-mcp-vote-gate

Conversation

@aeyakovenko
Copy link
Copy Markdown

Summary

  • add core::mcp_vote_gate module implementing MCP consensus vote-gate rules
  • enforce leader checks and delayed-bankhash gating, including explicit rejection when delayed bankhash is unavailable
  • enforce global relay threshold (REQUIRED_ATTESTATIONS) from valid relay signatures only
  • apply implied-proposer inclusion and equivocation exclusion rules using REQUIRED_INCLUSIONS
  • enforce local reconstruction threshold (REQUIRED_RECONSTRUCTION) before voting
  • add focused unit tests for signature/index gates, bankhash availability, threshold failures, equivocation exclusion, and success path

Testing

  • cargo test -p solana-core --lib mcp_vote_gate -- --nocapture

Closes #16

@aeyakovenko aeyakovenko force-pushed the issue-16-mcp-vote-gate branch from c5ffd71 to fd4fc28 Compare February 8, 2026 15:24
# Conflicts:
#	ledger/src/shred/mcp_shred.rs
#	plan.md
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.

MCP-14 Voting: validate and vote on blocks

1 participant