Skip to content

Commit

Permalink
rolls out chained Merkle shreds to 100% of testnet slots (#2858)
Browse files Browse the repository at this point in the history
(cherry picked from commit a15fef1)
  • Loading branch information
behzadnouri authored and mergify[bot] committed Sep 26, 2024
1 parent 4255f52 commit 56c7e9e
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 56c7e9e

Please sign in to comment.