Skip to content

Commit

Permalink
rolls out chained Merkle shreds to ~5% of mainnet slots (#4019)
Browse files Browse the repository at this point in the history
(cherry picked from commit d3fe8f8)

# Conflicts:
#	turbine/src/broadcast_stage/standard_broadcast_run.rs
  • Loading branch information
behzadnouri authored and mergify[bot] committed Dec 16, 2024
1 parent c15e669 commit e4b6e7f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion turbine/src/broadcast_stage/standard_broadcast_run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -503,12 +503,18 @@ 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 => true,
<<<<<<< HEAD
ClusterType::MainnetBeta => false,
ClusterType::Testnet => false,
=======
// Roll out chained Merkle shreds to ~5% of mainnet slots.
ClusterType::MainnetBeta => slot % 19 == 1,
ClusterType::Testnet => true,
>>>>>>> d3fe8f8a0 (rolls out chained Merkle shreds to ~5% of mainnet slots (#4019))
}
}

Expand Down

0 comments on commit e4b6e7f

Please sign in to comment.