-
I want to use libp2p for building my p2p network where i can communicate with other nodes and transfer some struct between them. Q:1 Gossipsub: for events subscription between nodes and publishing events Q:2 Q:3 Q:4 looking for kind answers. Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
👋
Correct
I am not sure I follow. Can you rephrase?
Yep. Though make sure to connect to other nodes that you discover along the way. Otherwise you have a star topology where everyone is only connected to the boot node.
You need to integrate them manually at the moment, see hole punching tutorial. https://docs.rs/libp2p/latest/libp2p/tutorials/hole_punching/index.html Hope these answers are of some help. |
Beta Was this translation helpful? Give feedback.
👋
Correct
I am not sure I follow. Can you rephrase?
Yep. Though make sure to connect to other nodes that you discover along the way. Otherwise you have a star topology where everyone is only connected to the boot node.