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.
205
+
206
+
### Peer
207
+
208
+
The `peer` schema represents an arbitrary peer.
209
+
210
+
211
+
```json
212
+
{
213
+
"Schema": "peer",
214
+
"ID": "12D3K...",
215
+
"Addrs": ["/ip4/..."],
216
+
"Protocols": ["transport-bitswap", ...]
217
+
}
218
+
```
219
+
220
+
-`ID`: the [Peer ID](https://github.com/libp2p/specs/blob/master/peer-ids/peer-ids.md).
221
+
-`Addrs`: a list of known [multiaddrs][multiaddr] for this peer. This list MAY be incomplete.
222
+
-`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.
223
+
224
+
186
225
## Known Transfer Protocols
187
226
188
227
This section contains a non-exhaustive list of known transfer protocols (by name) that may be supported by clients and servers.
0 commit comments