rolls out merkle shreds to ~20% of mainnet slots (#32532)
This commit is contained in:
parent
5752505548
commit
9efa0eacac
|
@ -509,7 +509,7 @@ impl BroadcastRun for StandardBroadcastRun {
|
||||||
fn should_use_merkle_variant(slot: Slot, cluster_type: ClusterType) -> bool {
|
fn should_use_merkle_variant(slot: Slot, cluster_type: ClusterType) -> bool {
|
||||||
match cluster_type {
|
match cluster_type {
|
||||||
ClusterType::Testnet | ClusterType::Devnet | ClusterType::Development => true,
|
ClusterType::Testnet | ClusterType::Devnet | ClusterType::Development => true,
|
||||||
ClusterType::MainnetBeta => (slot % 19) == 1,
|
ClusterType::MainnetBeta => (slot % 19) < 4,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue