Topology on libp2p ( libp2p design )

p2p

#1

Is there any place for discussion or fundamental base knowledge for
topology on libp2p, or could I open it here?

Casper protocol seems to have update system of ‘validator topology’.
And my question is that does libp2p which is more underlying layer have a similar system ?


#2

Casper does not make any assumptions about network topology; it assumes a gossip network just like PoW. It’s sharding that has stronger network topology assumptions for scalability reasons.


#3

Regarding (i) sharding topology and (ii) main chain transport layer on libp2p, here’s the new GH issue: https://github.com/libp2p/libp2p/issues/33


#4

Thanks for the link Hsiao-Wei!


#5

PS until we have a separate category for P2P, it’s probably best to categorize P2P posts under sharding (or Casper if it’s specific to that). I know Casper FFG alpha uses Kademlia and bootstrapping nodes, but I don’t know much more about their specific P2P implementation.


#8

My purpose is a bit different, maybe as @vbuterin implied by the term ‘gossip’;
I would like to research the way of updating the whole network topology as there are no stable neighbors.
( I took casper as sharding, as @vbuterin mentioned. )


#9

I have been reading up on gossipsub for developing it for rust-libp2p, and suggest that you check that out.