Skip to content

Commit

Permalink
refactor(rosenet-relay): make relays only gossip
Browse files Browse the repository at this point in the history
As Gossipsub bootstrappers, the relays should only gossip without
keeping full-message connections with other nodes.
  • Loading branch information
mkermani144 committed Aug 18, 2024
1 parent d392e11 commit d7f66e7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/rosenet-relay/lib/createRoseNetRelay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ const createRoseNetRelay = async ({
}),
pubsub: gossipsub({
allowPublishToZeroPeers: true,
D: 0,
Dlo: 0,
Dhi: 0,
Dout: 0,
}),
identify: identify(),
},
Expand Down

0 comments on commit d7f66e7

Please sign in to comment.