rolls out merkle shreds to ~5% of mainnet slots (#32337)
This commit is contained in:
parent
fccc1c75f3
commit
43a5ed3139
|
@ -501,8 +501,11 @@ impl BroadcastRun for StandardBroadcastRun {
|
|||
}
|
||||
}
|
||||
|
||||
fn should_use_merkle_variant(_: Slot, cluster_type: ClusterType, shred_version: u16) -> bool {
|
||||
cluster_type == ClusterType::Testnet && shred_version == 28353
|
||||
fn should_use_merkle_variant(slot: Slot, cluster_type: ClusterType, shred_version: u16) -> bool {
|
||||
match cluster_type {
|
||||
ClusterType::Testnet => shred_version == 28353,
|
||||
_ => (slot % 19) == 1,
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
|
Loading…
Reference in New Issue