-
Notifications
You must be signed in to change notification settings - Fork 179
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
SIMD-0313: Drop unchained merkle shreds #313
Conversation
@bw-solana @alexpyattaev it won't let me add you as a reviewer so tagging here |
757b1ad
to
0b322e2
Compare
## Security Considerations | ||
|
||
None | ||
|
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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] |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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!
I support it. We should be able to delete a lot of code |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I support this.
@willhickey could we get this merged and resume activation on devnet? Thanks! |
There was a problem hiding this 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!
Backfilling the SIMD for this feature https://github.com/anza-xyz/feature-gate-tracker/issues/80