Updated networking flow (markdown)
parent
1e2fddca5c
commit
1b7d88ac68
|
@ -104,6 +104,11 @@ vendor/nim-libp2p/libp2p/switch.nim:
|
|||
- Switch.indentify(Connection)
|
||||
- awaits Identify.indentify(Connection, PeerInfo)
|
||||
|
||||
- Switch.subscribeToPeer(PeerInfo)
|
||||
- awaits PubSub.subscribeToPeer(Connection)
|
||||
|
||||
## identify
|
||||
|
||||
vendor/nim-libp2p/libp2p/protocols/identify.nim:
|
||||
|
||||
- Identify.indentify(Connection, PeerInfo)
|
||||
|
@ -114,9 +119,6 @@ vendor/nim-libp2p/libp2p/protocols/identify.nim:
|
|||
- calls initProtoBuffer(buf)
|
||||
- calls ProtoBuffer.getValue(), ProtoBuffer.getBytes() and ProtoBuffer.getString() to decode the message
|
||||
|
||||
- Switch.subscribeToPeer(PeerInfo)
|
||||
- awaits PubSub.subscribeToPeer(Connection)
|
||||
|
||||
## multistream
|
||||
|
||||
vendor/nim-libp2p/libp2p/multistream.nim:
|
||||
|
|
Loading…
Reference in New Issue