ipfs swarm peers --enc=json --identify #9578
Labels
exp/novice
Someone with a little familiarity can pick up
good first issue
Good issue for new contributors
help wanted
Seeking public contribution on this issue
P2
Medium: Good to have, but can wait until someone steps up
topic/bandwidth reduction
Topic bandwidth reduction
topic/commands
Topic commands
topic/webui
Topic webui
Peers screen in ipfs-webui could show the agent versions, and all supported protocols, but it is too expensive to do
ipfs.id
call for each peer – especially in browser.We already have
ipfs swarm peers --enc=json --streams
opt-in flag which fillsStreams
field in JSON response for each peer, example:Streams
info is used for "Open Streams" column on the peers screen, but it only shows active streams, not all supported protocols and versions:Proposed improvement
Support passing
--identify
which addsIdentify
values, could be the same struct as one returned byipfs id
(result of libp2p's identify protocol):If we had
ipfs swarm peers --enc=json --identify
then we could unblock ipfs/ipfs-webui#2086 and show it on the Peers screen, and see which nodes is JS-IPFs, Iroh, Kubo, which one is docker/brave/desktop etcUnsure if we are caching
identify
results, if not, we should start doing so, removing the need for executingidentify
protocol lookup for every peer every timeipfs swarm peers --enc=json --identify
is called.If anyone has bandwidth to do this, feel free to pick it up, and @lidel me for review.
The text was updated successfully, but these errors were encountered: