Skip to content

feat: build and send block footer#570

Merged
ksn6 merged 3 commits into
anza-xyz:masterfrom
ksn6:send-block-footer
Oct 24, 2025
Merged

feat: build and send block footer#570
ksn6 merged 3 commits into
anza-xyz:masterfrom
ksn6:send-block-footer

Conversation

@ksn6
Copy link
Copy Markdown
Contributor

@ksn6 ksn6 commented Oct 23, 2025

Problem and Summary of Changes

Construct and disseminate the block footer. In a follow-up PR, we'll parse the footer in replay.

This PR addresses solana-foundation/solana-improvement-documents#307.

Comment thread core/src/block_creation_loop.rs Outdated

// TODO: insert block footer
// Construct and send the block footer
let footer = produce_block_footer();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

awesome, this turned out very clean! FYI @akhi3030 you can plug in your rewards container here to populate the aggregates in the footer.

For the finalized certificate I imagine we can have something lightweight that can be updated on VotorEvent::Finalized. Can probably even live inside the rewards container and we can add it to the footer

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

perfect, this looks nice and straightforward.

Comment thread core/src/block_creation_loop.rs Outdated
@ksn6 ksn6 force-pushed the send-block-footer branch from dc545c3 to b433739 Compare October 23, 2025 23:00
Comment thread core/src/block_creation_loop.rs Outdated
@ksn6 ksn6 enabled auto-merge (squash) October 24, 2025 02:12
Comment thread core/src/block_creation_loop.rs
Comment thread core/src/block_creation_loop.rs Outdated
Comment thread core/src/block_creation_loop.rs Outdated
Comment thread poh/src/poh_recorder.rs Outdated
@ksn6 ksn6 force-pushed the send-block-footer branch from b6bb1ee to 37b5b73 Compare October 24, 2025 16:06
@ksn6 ksn6 merged commit 955dce5 into anza-xyz:master Oct 24, 2025
7 checks passed
@ksn6 ksn6 deleted the send-block-footer branch October 24, 2025 16:54
AshwinSekar pushed a commit to AshwinSekar/alpenglow that referenced this pull request Feb 23, 2026
Construct and disseminate the block footer. In a follow-up PR, we'll
parse the footer in replay.

This PR addresses
solana-foundation/solana-improvement-documents#307.
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.

4 participants