Shredstream

1. General Description

Shredstream is a key component of the validator client responsible for receiving, processing, and disseminating shred packets (“shreds”) between network nodes. As part of the TEAMDREAM client modifications, a comprehensive set of optimizations was applied to Shredstream and its integration with the Block Builder Module (BBM)—an enhanced counterpart to Jito’s Block Assembly Module (BAM).

The primary goal of these changes is to improve the efficiency of the block assembly stage, reduce network latency, and increase the determinism of data transfer between validators and block builders.


2. Optimization Objectives

Direction
Description

Integration with BBM

Implemented bidirectional communication between Shredstream and BBM for data synchronization and block prioritization.

Latency reduction

Reworked the internal packet transmission queue; optimized serialization and delivery of shred streams.

Network interaction optimization

Introduced prefetching and data aggregation mechanisms prior to block assembly.

Throughput control

Added parameters for dynamic flow regulation at the shred-transport layer.

PBS (Proposer–Builder Separation) support

Introduced architectural compatibility with the separation of builder and validator roles.

Last updated