erigon-pulse/p2p/dnsdisc
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
..
client_test.go dnsdisc: backport geth latest version and fixes for go1.20 (#6925) 2023-02-22 08:29:34 +00:00
client.go dnsdisc: backport geth latest version and fixes for go1.20 (#6925) 2023-02-22 08:29:34 +00:00
doc.go p2p/dnsdisc: add implementation of EIP-1459 (#20094) 2019-09-25 11:38:13 +02:00
error.go dnsdisc: backport geth latest version and fixes for go1.20 (#6925) 2023-02-22 08:29:34 +00:00
sync_test.go p2p/dnsdisc: add enode.Iterator API (#20437) 2020-01-30 13:36:30 +02:00
sync.go Pool: txID-based cache (#2697) 2021-09-17 10:31:20 +07:00
tree_test.go dnsdisc: backport geth latest version and fixes for go1.20 (#6925) 2023-02-22 08:29:34 +00:00
tree.go Upgrade libp2p (enables go 1.21 support) (#8288) 2023-09-29 22:11:13 +02:00