Skip to content

Commit

Permalink
v2.0: rolls out chained Merkle shreds to 100% of testnet slots (backp…
Browse files Browse the repository at this point in the history
…ort of #2858) (#2995)

rolls out chained Merkle shreds to 100% of testnet slots (#2858)

(cherry picked from commit a15fef1)

Co-authored-by: behzad nouri <[email protected]>
  • Loading branch information
mergify[bot] and behzadnouri authored Sep 27, 2024
1 parent 9e90b00 commit 77ed6db
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions turbine/src/broadcast_stage/standard_broadcast_run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -506,13 +506,12 @@ impl BroadcastRun for StandardBroadcastRun {
}
}

fn should_chain_merkle_shreds(slot: Slot, cluster_type: ClusterType) -> bool {
fn should_chain_merkle_shreds(_slot: Slot, cluster_type: ClusterType) -> bool {
match cluster_type {
ClusterType::Development => true,
ClusterType::Devnet => false,
ClusterType::MainnetBeta => false,
// Roll out chained Merkle shreds to ~53% of testnet slots.
ClusterType::Testnet => slot % 19 < 10,
ClusterType::Testnet => true,
}
}

Expand Down

0 comments on commit 77ed6db

Please sign in to comment.