Skip to content

MCP-07: add proposer relay-distribution helpers#35

Open
aeyakovenko wants to merge 306 commits intoanza-xyz:masterfrom
aeyakovenko:issue-11-mcp-proposer-distribute
Open

MCP-07: add proposer relay-distribution helpers#35
aeyakovenko wants to merge 306 commits intoanza-xyz:masterfrom
aeyakovenko:issue-11-mcp-proposer-distribute

Conversation

@aeyakovenko
Copy link
Copy Markdown

Summary

  • add core::mcp_proposer helper module for MCP proposer-to-relay shred distribution
  • define strict proposer shred message encoding (slot, proposer_index, shred_index, commitment, shred_data, witness, proposer_sig)
  • add deterministic build_relay_unicasts that emits exactly one unicast per relay index
  • add verification helpers relays can use to validate relay-index targeting, proposer signature, and witness
  • add focused unit tests for one-unicast-per-relay, round-trip message decoding, and invalid relay-index rejection

Testing

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

Closes #11

@aeyakovenko aeyakovenko force-pushed the issue-11-mcp-proposer-distribute branch from a12bf7f to b495e98 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-07 Proposer: distribute shreds to relays

1 participant