Skip to content
This repository has been archived by the owner on Sep 6, 2022. It is now read-only.

feat: add helper functions for working with addr infos #202

Merged
merged 1 commit into from
Jul 21, 2021

Conversation

Stebalien
Copy link
Member

Specifically, move them here from the peerstore. That way packages (like the DHT) that currently directly rely on the peerstore, can just use go-libp2p-core.

Moved from https://github.com/libp2p/go-libp2p-peerstore/blob/f7f22569f7d49635953638ffb11915dd3d054cf5/peerstore.go#L79-L93

With some small modifications.

Specifically, move them _here_ from the peerstore. That way
packages (like the DHT) that currently directly rely on the peerstore,
can just use go-libp2p-core.

Moved from https://github.com/libp2p/go-libp2p-peerstore/blob/f7f22569f7d49635953638ffb11915dd3d054cf5/peerstore.go#L79-L93

With some small modifications.
@Stebalien Stebalien merged commit 8c04ed1 into master Jul 21, 2021
@Stebalien Stebalien deleted the feat/addr-info-helpers branch July 21, 2021 20:13
@aschmahmann aschmahmann mentioned this pull request Aug 23, 2021
62 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants