This repository was archived by the owner on Feb 12, 2024. It is now read-only.
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
Add both 'muxer' and 'streams' properties to 'swarm.peers()' #2601
Closed
Description
Both cli commands
and http api
documentation say it's possible to get several details about the set of peers the node is connected to.
The returned info includes, among other properties:
-
streams
- information about open streams for each peer -
muxer
- the type of stream muxer the peer is using
But none of this info is currently available and it needs to be implemented to get consistent with go-ipfs
.
Moreover, latency
is always being returned as n/a
(if verbose
option is set) and it needs to be properly implemented as well.