Skip to content

Commit

Permalink
Add justification comment of BroadcastStage
Browse files Browse the repository at this point in the history
  • Loading branch information
ryoqun committed Sep 3, 2024
1 parent c83a7fe commit 2f90758
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/banking_simulation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,8 @@ impl BankingSimulator {
random_keypair,
SocketAddrSpace::Unspecified,
));
// Broadcast stage is needed to save the simulated blocks for post-run analysis by
// inserting produced shreds into the blockstore.
let broadcast_stage = BroadcastStageType::Standard.new_broadcast_stage(
vec![UdpSocket::bind((Ipv4Addr::LOCALHOST, 0)).unwrap()],
cluster_info.clone(),
Expand Down

0 comments on commit 2f90758

Please sign in to comment.