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

Commits on Jul 21, 2021

  1. feat: add helper functions for working with addr infos

    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 committed Jul 21, 2021
    Copy the full SHA
    206a6a2 View commit details
    Browse the repository at this point in the history