This repository has been archived by the owner on Jul 21, 2023. It is now read-only.
Expose utils.convertPeerId
#79
Labels
help wanted
Seeking public contribution on this issue
kind/enhancement
A net-new feature or improvement to an existing feature
P3
Low: Not priority right now
status/ready
Ready to be worked
Hello 👋
First of all great work 👍 awesome module with great docs 😄
I'm using it in pulsarcast - ipfs/notes#266 and I'm currently looking for a way to access the closest peer(s) to a given peer locally. I understand this is a really specific use case for which exposing a method might not be worth it 🤷♂️ but I was wondering if exposing
utils.convertPeerId
as a static method would be something you would consider? This would be more than enough for me to then perform the search in the local routing table and I take it it could be useful to have some way on the module API to convert aPeerId
into a DHT key?The text was updated successfully, but these errors were encountered: