Skip to content

Conversation

@AshwinSekar
Copy link
Contributor

Problem

We maintain a separate sender for Block events. Instead just use the regular event sender.
Having the event sender available to tvu will also let us send FirstShred events in the future.

Summary of Changes

Remove the completed_block_sender/receiver and plumb the event_sender instead.

Fixes #283

@AshwinSekar AshwinSekar requested review from bw-solana and carllin July 20, 2025 21:30
// Leader blocks will not have a block id, broadcast stage will
// take care of notifying the voting loop
let _ = completed_block_sender.send(CompletedBlock {
let _ = votor_event_sender.send(VotorEvent::Block(CompletedBlock {
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 and broadcast_utils is the actual change on the sender side, rest is the corresponding plumbing

@AshwinSekar AshwinSekar merged commit 5f852da into anza-xyz:master Jul 23, 2025
7 checks passed
@AshwinSekar AshwinSekar deleted the unify-recv branch July 23, 2025 14:20
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 1, 2025
bw-solana pushed a commit to bw-solana/alpenglow that referenced this pull request Aug 2, 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.

Unify completed_block_sender and event_sender

2 participants