rolls out merkle shreds to ~50% of testnet (#31950)

This commit is contained in:
behzad nouri 2023-06-06 17:36:06 +00:00 committed by GitHub
parent a2e7d1356c
commit 8a47086246
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -498,8 +498,8 @@ impl BroadcastRun for StandardBroadcastRun {
}
}
fn should_use_merkle_variant(_slot: Slot, _cluster_type: ClusterType, _shred_version: u16) -> bool {
false
fn should_use_merkle_variant(slot: Slot, cluster_type: ClusterType, shred_version: u16) -> bool {
cluster_type == ClusterType::Testnet && shred_version == 28353 && (slot % 19 < 10)
}
#[cfg(test)]