Skip to content

Commit

Permalink
chore: set higher D value
Browse files Browse the repository at this point in the history
  • Loading branch information
bochaco committed Sep 25, 2023
1 parent e88074d commit fcdac08
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sn_networking/src/driver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,12 @@ impl NetworkBuilder {

// Gossipsub behaviour
// set default parameters for gossipsub
let gossipsub_config = libp2p::gossipsub::Config::default();
let gossipsub_config = libp2p::gossipsub::ConfigBuilder::default()
.mesh_n(25)
.mesh_n_low(24)
.mesh_n_high(48)
.build()
.unwrap();

// Set the message authenticity - Here we expect the publisher
// to sign the message with their key.
Expand Down

0 comments on commit fcdac08

Please sign in to comment.