You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.
Actually, I'd be in favor of removing the peer.Set altogether. The only consumer I can find is kad-dht (here and here) and the peerstore, where the peerstore isn't even using it in an efficient way.
Therefore, this code should probably live (unexported) inside kad.
Hi @marten-seemann. Thanks for the explanation. Is it possible to temporary add this functionality(I can open a PR) as it's pretty logic that if there is a possibility to add a peer, then it might have possibility to delete a peer or could suggest what can I use instead of peer.Set(with add/remove peer functionality) if it will be deleted at all? I want to avoid copy pasting in my code
Currently
peer.Set
allows only to add peers but it would be nice to have a remove functionality.The text was updated successfully, but these errors were encountered: