-
Notifications
You must be signed in to change notification settings - Fork 483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Peers: assigning nicknames / pet names #1018
Comments
The idea of "pet names" was part of #891 but only "Add connection" button was added to the Peers screen. Labeling peers was descoped because while we could implement it in userland (store names in local storage of webui Origin), the names would show only in webui. I believe a better way is to add support for this to $ ipfs swarm connect --petname PeeryMcPeer /p2p/QmPeerId
connect QmPeerId success
$ ipfs swarm peers --petname
/ipv4/somethingelse OtherNick
/ipv4/no-petname
/ipv4/something PeeryMcPeer That way we can not only support them in webui, but also CLI, RPC API and other tools. cc @vasco-santos (from libp2p) if libp2p project discussed adding this type of metadata before |
Hey folks! I am currently working on improving libp2p's PeerStore on JS land and this is one of the things that I intend to support. By the end of the PeerStore improvements, we should support adding metadata to a peer. Regarding API for libp2p and IPFS, we did not start discussing this yet, since my main focus has been the |
PSA: I wrote my initial thoughts on the MetadataBook for |
@vasco-santos - what's the latest status of this? Thanks! |
Hey! |
Thanks, @vasco-santos! @lidel - given the current status, do you think this is something that's worth putting out for bounty right now? |
This is blocked until high level API support for peerstore metadata is present in both js-ipfs and go-ipfs (like #1018 (comment) or even more generic kv approach). |
A peer nickname can be added next to peer ID.
The text was updated successfully, but these errors were encountered: