diff --git a/relay/README.md b/relay/README.md index 3bfdfa2..806f7ad 100644 --- a/relay/README.md +++ b/relay/README.md @@ -40,17 +40,15 @@ The transport is the means of *establishing* and *accepting* connections, and the swarm protocol is the means to *relaying* connections. ``` -+-------+ /ip4/.../tcp/.../ws/ipfs/QmRelay +---------+ /ip4/.../tcp/.../ipfs/QmTwo +-------+ ++-------+ /ip4/.../tcp/.../ws/p2p/QmRelay +---------+ /ip4/.../tcp/.../p2p/QmTwo +-------+ | QmOne | <------------------------------------> | QmRelay | <-----------------------------------> | QmTwo | -+-------+ (/ipfs/relay/circuit multistream) +---------+ (/ipfs/relay/circuit multistream) +-------+ ++-------+ (/libp2p/relay/circuit multistream) +---------+ (/libp2p/relay/circuit multistream) +-------+ ^ +-----+ ^ | | | | | /p2p-circuit/QmTwo | | | +--------------------------------------------+ +-------------------------------------------+ ``` -TODO: the stream codec should be called `/libp2p/relay/circuit` instead. - Note: we're using the `/p2p` multiaddr protocol instead of `/ipfs` in this document. `/ipfs` is currently the canonical way of addressing a libp2p or IPFS node, but given the growing non-IPFS usage of libp2p, we'll migrate to using `/p2p`.