Skip to content

SIMD-0313: Drop unchained merkle shreds #313

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

Merged
merged 1 commit into from
Jul 1, 2025

Conversation

AshwinSekar
Copy link
Contributor

@AshwinSekar
Copy link
Contributor Author

@bw-solana @alexpyattaev it won't let me add you as a reviewer so tagging here

## Security Considerations

None

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to mention that this strictly improves security compared to the status quo?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This SIMD by itself will not, but it leads to better security via alpenglow

// the Merkle tree. The root of the Merkle tree is signed.

// Layout: {common, data} headers | data buffer
// | [Merkle root of the previous erasure batch if chained]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In context of this SIMD all shreds are chained, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All shreds sent are now chained, but they used to not be chained. As specified below when the feature flag is active, any shred without the chained flag set will be dropped

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this makes sense, thank you!

@bw-solana
Copy link
Contributor

I support it. We should be able to delete a lot of code

Copy link

@alexpyattaev alexpyattaev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I support this.

@AshwinSekar
Copy link
Contributor Author

@willhickey could we get this merged and resume activation on devnet? Thanks!

Copy link
Contributor

@willhickey willhickey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for writing this!

@Benhawkins18 Benhawkins18 merged commit a5683ca into solana-foundation:main Jul 1, 2025
2 checks passed
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.

6 participants