go-libp2p-core/peer
Steven Allen 8c04ed1323
feat: add helper functions for working with addr infos (#202)
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 f7f22569f7/peerstore.go (L79-L93)

With some small modifications.
2021-07-21 13:09:49 -07:00
..
pb Signed envelopes & routing records (#73) 2020-02-10 14:53:24 -05:00
addrinfo_serde.go refactor: use a helper type to decode AddrInfo from JSON (#178) 2021-02-16 12:06:38 -08:00
addrinfo_test.go fix staticcheck errors (#191) 2021-03-30 16:13:36 -07:00
addrinfo.go feat: add helper functions for working with addr infos (#202) 2021-07-21 13:09:49 -07:00
peer_serde_test.go absorb {crypto,peer} test utils. (#8) 2019-05-23 16:07:58 +01:00
peer_serde.go docs: uniform comment sentences 2020-03-03 18:16:38 +01:00
peer_test.go feat: support encoding/decoding peer IDs as CIDs _in text_ 2019-10-02 08:45:33 -07:00
peer.go fix staticcheck errors (#191) 2021-03-30 16:13:36 -07:00
record_test.go fix: make timestamps strictly increasing (#201) 2021-07-16 15:02:22 -07:00
record.go fix: make timestamps strictly increasing (#201) 2021-07-16 15:02:22 -07:00
set.go fix staticcheck errors (#191) 2021-03-30 16:13:36 -07:00