You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This section contains a non-exhaustive list of known schemas that MAY be supported by clients and servers.
221
+
222
+
### Peer
223
+
224
+
The `peer` schema represents an arbitrary peer.
225
+
226
+
227
+
```json
228
+
{
229
+
"Schema": "peer",
230
+
"ID": "12D3K...",
231
+
"Addrs": ["/ip4/..."],
232
+
"Protocols": ["transport-bitswap", ...]
233
+
}
234
+
```
235
+
236
+
-`ID`: the [Peer ID](https://github.com/libp2p/specs/blob/master/peer-ids/peer-ids.md).
237
+
-`Addrs`: a list of known [multiaddrs][multiaddr] for this peer. This list MAY be incomplete.
238
+
-`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
+
240
+
186
241
## Known Transfer Protocols
187
242
188
243
This section contains a non-exhaustive list of known transfer protocols (by name) that may be supported by clients and servers.
0 commit comments