Nitride.xyz
Learn · Updated November 17, 2026

Turbine: how Solana spreads a block

Nitride.xyz team

Solana Turbine is the protocol that carries a block's shreds from the leader to every validator. The leader sends each shred to a single root node. The root passes it to a first layer of up to 200 nodes, and each of those forwards it into the next layer, so every copy crosses only a few hops.

Why does Solana need Turbine?#

A leader has a short window to get its block to the whole cluster. If it sent every packet to every validator itself, its upload would grow with the number of validators: thousands of copies of each shred, for thousands of shreds per block, all from one machine in a few hundred milliseconds.

Turbine spreads the work. The leader sends each shred once, and the validators that receive it pass it on. Each node uploads a bounded number of copies, and the cluster as a whole does the rest. In Agave this sits in the TVU, the part of the validator that receives blocks, and the Anza docs name Turbine as its main network interface.

Shreds leave the leader while it is still building the block. Validators receive pieces of a slot in real time, long before anyone has voted on it. That early, unconfirmed stream is what every shred-level reader works with.

How is the Turbine tree built?#

Every validator builds the same tree on its own, with no messages exchanged to agree on it. The steps, as Agave implements them:

  1. Start from the list of known nodes: staked validators plus other peers learned through gossip, sorted by stake.
  2. Remove the slot's leader from the list.
  3. Seed a random number generator from a hash of the shred's slot, its kind (data or coding), its index and the leader's public key.
  4. Shuffle the list with that generator, weighted by stake. Nodes with more stake tend to land nearer the front. Nodes with no stake always come after all staked nodes.
  5. Read the shuffled list as a tree: the first node is the root, the next 200 are layer one, and the following nodes fill layer two and beyond.

Because the seed changes with every shred, the tree changes with every shred too. A node near the root for one shred may sit deep in the tree for the next. This spreads the forwarding load, and the Anza docs give it a security reason as well: reshuffling for every shred reduces the ways an attacker can position itself in the tree. The stake bias is deliberate: the Anza docs explain that it lets heavily staked validators see the block, and vote, sooner. Stake-weighted fanout looks at that bias in detail.

The leader of the slot is known in advance from the leader schedule, so every node knows whose key goes into the seed. Slots and leaders explains how that assignment works.

How many hops does a shred take?#

The width of each layer is the fanout. Agave sets DATA_PLANE_FANOUT to 200. The root sends to all of layer one. After that, each node sends to its own slice of the next layer: node k of layer one forwards to the nodes at positions 200 + k, 400 + k and on, up to 200 of them.

That gives the tree its shape:

Position in the shuffled listDistance from the root
0the root itself
1 to 200one hop
201 to 40,200two hops
beyond 40,200three hops

Counting the leader's own send to the root, a shred reaches most nodes in two or three network hops. A cluster would need more than 40,000 nodes before any of them sat three hops past the root. The fanout is a fixed constant in the Agave code; the Anza docs note it is set at cluster launch and could move on chain in the future.

What happens when a shred is lost on the way?#

Turbine sends over UDP and does not resend. A node that drops a packet does not forward it, so its whole subtree misses that copy too. Two mechanisms cover this.

The first is erasure coding. Every group of 32 data shreds travels with 32 coding shreds, and any 32 of the 64 are enough to rebuild the group. Most losses are fixed this way, on the receiving node, without asking anyone.

The second is repair. When a group is still short, the validator requests the missing shreds from peers, and any peer that holds them answers. The Solana repair protocol page covers the request types.

What does Turbine mean for a shred receiver?#

Any machine that gets shreds without being the leader gets them from somewhere in this tree, or from a node that forwards what it received from the tree. Three things follow:

  • Arrival depends on position. A node near the root for a given shred gets it earlier than one two hops down, and positions change per shred.
  • Order is not preserved. Shreds of one slot take different paths, so they can arrive out of index order, and data and coding shreds mix freely.
  • Each extra hop adds time. Whatever forwards shreds from a validator to your server adds at least one more network hop. Delivery paths, direct and relayed shows how that applies to the two ways a feed can reach you.

Alpenglow (SIMD-0326), live on mainnet since October 21, 2026, changed how Solana votes and finalizes blocks but kept Turbine for spreading data. A replacement called Rotor is planned under its own proposal.

Questions#

Does every validator receive every shred through Turbine?#

That is the design: the tree covers every node it knows about. Losses still happen, which is why erasure coding and repair exist.

Do unstaked nodes get shreds through Turbine?#

Yes, if gossip lists them with a receive address, but they always sort after staked nodes, so they sit at the far end of the tree. Agave also notes that their place in the tree depends on gossip and can differ from node to node.

Is Turbine the same as gossip?#

No. Gossip shares cluster state such as contact details. Turbine carries block data, shred by shred, over its own per-shred tree. Since Alpenglow, validators send votes directly to each other and aggregate them into certificates. Votes are no longer transactions in blocks and no longer travel over gossip.

Sources#