Skip to content

Commit

Permalink
feat: define gossip as full-message only
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Paitrault <[email protected]>
  • Loading branch information
Freyskeyd committed Jun 27, 2023
1 parent 72dba69 commit 65bfe17
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/topos-p2p/src/network.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ impl<'a> NetworkBuilder<'a> {

let gossipsub = gossipsub::ConfigBuilder::default()
.max_transmit_size(2 * 1024 * 1024)
.mesh_n(14)
.mesh_n_low(14)
.mesh_n_high(15)
.validation_mode(gossipsub::ValidationMode::Strict)
.build()
.unwrap();
Expand Down

0 comments on commit 65bfe17

Please sign in to comment.