Updated networking flow (markdown)

Ștefan Talpalaru 2020-03-07 23:10:34 +01:00
parent 1e2fddca5c
commit 1b7d88ac68
1 changed files with 5 additions and 3 deletions

@ -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: