Skip to content
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
@PedroMiguelSS

Description

@PedroMiguelSS

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.

Metadata

Metadata

Assignees

Labels

P3Low: Not priority right nowexp/noviceSomeone with a little familiarity can pick upkind/wontfixstatus/blockedUnable to be worked further until needs are metstatus/readyReady to be workedtopic/libp2pTopic libp2p

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions