Skip to content

feat: introducing BlockComponent#8100

Closed
ksn6 wants to merge 3 commits into
anza-xyz:masterfrom
ksn6:upstream-block-component
Closed

feat: introducing BlockComponent#8100
ksn6 wants to merge 3 commits into
anza-xyz:masterfrom
ksn6:upstream-block-component

Conversation

@ksn6
Copy link
Copy Markdown

@ksn6 ksn6 commented Sep 18, 2025

Problem and Summary of Changes

A BlockComponent represents either a batch of entries or a special block marker. Most of the time, a block component contains a vector of entries. However, periodically, there are special messages that a block needs to contain. To accommodate these special messages, BlockComponent allows for the inclusion of special data via VersionedBlockMarker.

Currently supported special entry types include:

  • BlockFooter: Contains metadata about block production
  • UpdateParent: Used in optimistic block packing algorithms for Alpenglow

Additional special entry types may be added in the future.

This data structure addresses two SIMDs:

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 93.48404% with 98 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.0%. Comparing base (5453ef6) to head (ffc912d).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##           master    #8100     +/-   ##
=========================================
  Coverage    82.9%    83.0%             
=========================================
  Files         823      824      +1     
  Lines      360873   362377   +1504     
=========================================
+ Hits       299346   300792   +1446     
- Misses      61527    61585     +58     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ksn6
Copy link
Copy Markdown
Author

ksn6 commented Oct 14, 2025

block_component.rs is changing pretty rapidly over in alpenglow. Once that's stabilized, we'll upstream this change.

@ksn6 ksn6 closed this Oct 14, 2025
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.

2 participants