So I’m trying to develop a p2p network, using Gossipsub protocol and Kademlia. My main objective is to divide peers per network ID, so that if a peer is from a network it can’t see peers from another network.
The problem is that i can’t find any place where to define a network ID in the Rust lib, not in the documentation nor in the exaples.
Any help, advice, examples to follows or documentation?
Thanks in advance!