erigon-pulse/cmd/sentinel
Jason Yellick 5654ba07c9
Upgrade libp2p (enables go 1.21 support) (#8288)
Closes #8078 

This change is primarily intended to support go 1.21, but as a
side-effect requires updating libp2p, which in turn triggers an update
of golang.org/x/exp which creates quite a bit of (simple) churn in the
slice sorting.

This change introduces a new `cmp.Compare` function which can be used to
return an integer satisfying the compare interface for slice sorting.

In order to continue to support mplex for libp2p, the change references
github.com/libp2p/go-libp2p-mplex instead. Please see the PR at
https://github.com/libp2p/go-libp2p/pull/2498 for the official usptream
comment that indicates official support for mplex being moved to this
location.

Co-authored-by: Jason Yellick <jason@enya.ai>
2023-09-29 22:11:13 +02:00
..
cli torrent: add --webseeds cli arg (#8176) 2023-09-12 12:18:47 +07:00
sentinel Upgrade libp2p (enables go 1.21 support) (#8288) 2023-09-29 22:11:13 +02:00
main.go [caplin] conn gater (#7900) 2023-07-16 08:31:06 +02:00