- 30 Mar, 2021 1 commit
-
-
Marten Seemann authored
* run go mod tidy * omit receiver name if unused * remove unused type testkey in tests * fix duplicate import of go-multiaddr * fix use of deprecated peer.IDB58{Encode,Decode} * use bytes.Equal instead of bytes.Compare * fix unnecessary assigments to blank identifier * use time.Until instead of t.Sub(time.Now()) * fix use of deprecated go-multihash.ID * add missing error check in envelope test * fix error check in tests
-
- 16 Feb, 2021 1 commit
-
-
Steven Allen authored
This saves us a bunch of error prone manual decode/encode logic. Co-authored-by: Marten Seemann <martenseemann@gmail.com>
-
- 31 May, 2019 1 commit
-
-
Steven Allen authored
* SplitAddr is a simpler way to split an address into a multiaddr and an ID. * AddrInfosFromP2pAddrs converts a set of multiaddrs into a set of AddrInfos.
-