Commit Graph

4 Commits

Author SHA1 Message Date
Marten Seemann
4623690009 switch from github.com/libp2p/go-libp2p-core to core 2022-08-17 17:13:02 +03:00
Marten Seemann
00c0f1126f deprecate peer.Encode in favor of peer.ID.String (#275) 2022-07-07 14:41:03 -07:00
Marten Seemann
dc031c661d fix staticcheck errors (#191)
* 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
2021-03-30 16:13:36 -07:00
Raúl Kripalani
0a9354a857 Absorb go-libp2p abstractions and core types into this module (#1) 2019-05-22 18:31:11 +01:00