Replies: 1 comment 1 reply
-
I think the Wikipedia definition is pretty good here:
There are also specifications for the libp2p protocols. In a nutshell, you can think of every communication that can be defined in an isolated fashion as a protocol. On this level, |
Beta Was this translation helpful? Give feedback.
-
While going through the source, I found the list of protocols here
I am a bit confused on how to think about protocols semantically in
rust-libp2p
as I see things that represents different things conceptually. For example in the directory there iskad
andmdns
, which I believe are peer discovery mechanism. Also there isping
andidentify
which I believe has nothing to do with discovery but are closer to the definition of what a protocol should be. Also there isfloodsub
andgossipsub
which appears to be conceptually different also.So what exactly are protocols in
rust-libp2p
? What is the best way to think about them conceptually?Beta Was this translation helpful? Give feedback.
All reactions