Skip to content

Commit 2c85e3c

Browse files
hacdiaslidel
andcommitted
chore: feedback suggestion
Co-authored-by: Marcin Rataj <lidel@lidel.org>
1 parent 0c1b083 commit 2c85e3c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/routing/http-routing-v1.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,8 @@ The `peer` schema represents an arbitrary peer.
236236

237237
- `ID`: the [Peer ID](https://github.com/libp2p/specs/blob/master/peer-ids/peer-ids.md).
238238
- `Addrs`: a list of known [multiaddrs][multiaddr] for this peer. This list MAY be incomplete.
239-
- `Protocols`: an OPTIONAL field with the transports known to be used by this peer. If empty, it means the server does not know and the client can use the `identify` protocol to learn more.
239+
- `Protocols`: a list of protocols known to be supported by this peer.
240+
- If empty, it means the server is missing protocol information, and the client should use `ID` and `Addrs` to connect to the peer and use the [libp2p identify protocol](https://github.com/libp2p/specs/tree/master/identify) to learn about supported ones.
240241

241242
## Known Transfer Protocols
242243

0 commit comments

Comments
 (0)