docs icon indicating copy to clipboard operation
docs copied to clipboard

Create protocol negotiation (multistream) doc

Open yusefnapora opened this issue 6 years ago • 1 comments

We should have a concept doc about protocol negotiation that describes the high-level need, with details about how multistream is used throughout the libp2p stack.

We should emphasize that multistream is not directly related to multiplexing, but note that multiplexed streams do use multistream to identify the protocol used by each "inner stream".

Related concepts:

  • transport
  • stream multiplexing

yusefnapora avatar Mar 05 '19 15:03 yusefnapora

Two of the 3 places where multistream is used will be changed. See:

  • https://github.com/libp2p/specs/issues/426
  • https://github.com/libp2p/specs/pull/353

And multistream will only remain for protocol negotiation (until it is also replaced by Protocol Select.) Therefore, setting this as lower priority for now.

p-shahi avatar Aug 26 '22 15:08 p-shahi