Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gossip: process duplicate proofs for chained merkle root conflicts #1352

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AshwinSekar
Copy link

Problem

With the addition of chained merkle shreds, there is a new class of duplicate proofs available to be gossiped

Summary of Changes

Add a check for chained merkle root conflict proofs:

  • Different fec set
  • Lower fec set shred must be a coding shred
  • Fec sets are adjacent
  • Merkle root of the lower fec set must not equal the chained merkle root of the higher fec set

Fixes solana-labs#34897

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.

Generate duplicate proofs for blocks with incorrectly chained merkle roots
1 participant