mirror of
https://github.com/vacp2p/specs.git
synced 2026-01-07 22:44:07 -05:00
pubsub/: Clarify stream management (#442)
This commit is contained in:
@@ -75,6 +75,13 @@ You can find information about the PubSub research and notes in the following re
|
||||
- [gossipsub](https://github.com/libp2p/specs/tree/master/pubsub/gossipsub#implementation-status)
|
||||
- [EpiSub](https://github.com/libp2p/specs/blob/master/pubsub/gossipsub/episub.md), an epidemic broadcast tree router (defined 2018, not yet started as of Oct 2018)
|
||||
|
||||
## Stream management
|
||||
|
||||
Data should be exchanged between peers using two separately negotiated streams,
|
||||
one inbound, one outbound. These streams are treated as unidirectional streams.
|
||||
The outbound stream is used only to write data. The inbound stream is used only
|
||||
to read data.
|
||||
|
||||
## The RPC
|
||||
|
||||
All communication between peers happens in the form of exchanging protobuf RPC
|
||||
|
||||
Reference in New Issue
Block a user