Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

ipfs.bitswap.stat() should return who's peers are strings instead of CIDs #3389

Closed
Gozala opened this issue Nov 12, 2020 · 2 comments
Closed
Labels
need/triage Needs initial labeling and prioritization

Comments

@Gozala
Copy link
Contributor

Gozala commented Nov 12, 2020

As per discussion here https://github.com/ipfs/js-ipfs/pull/3365/files/fa7c2c13c43bab922052104fe8aff863d9725e9b#r521321206 peers should be strings not CIDs

@Gozala Gozala added the need/triage Needs initial labeling and prioritization label Nov 12, 2020
@lidel
Copy link
Member

lidel commented Apr 26, 2021

@Gozala Is this still relevant given ongoing work in #2945 ?

@Gozala
Copy link
Contributor Author

Gozala commented Apr 26, 2021

As far as I can see this has not been addressed yet

peers: bitswap.peers().map(id => new CID(id.toB58String())),

So I'd say yes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
need/triage Needs initial labeling and prioritization
Projects
None yet
Development

No branches or pull requests

2 participants