Browse Source

v2.2: rolls out chained Merkle shreds to 100% of mainnet slots (backport of #5735) (#5745)

rolls out chained Merkle shreds to 100% of mainnet slots (#5735)

(cherry picked from commit 41e9a259ce746b04ec9b078b97bbd0aac499dffe)

Co-authored-by: Trent Nelson <490004+t-nelson@users.noreply.github.com>
mergify[bot] 7 tháng trước cách đây
mục cha
commit
83485d12d9
1 tập tin đã thay đổi với 2 bổ sung3 xóa
  1. 2 3
      turbine/src/broadcast_stage/standard_broadcast_run.rs

+ 2 - 3
turbine/src/broadcast_stage/standard_broadcast_run.rs

@@ -507,12 +507,11 @@ 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,
-        // Roll out chained Merkle shreds to ~53% of mainnet slots.
-        ClusterType::MainnetBeta => slot % 19 < 10,
+        ClusterType::MainnetBeta => true,
         ClusterType::Testnet => true,
     }
 }