erigon-pulse/turbo/snapshotsync/freezeblocks
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
..
block_reader.go Fixes for bor snapshots (#8270) 2023-09-22 17:08:22 +07:00
block_snapshots_test.go Downloader: don't fail when see unusual file, skip it (backward/forward compatibility) (#8170) 2023-09-10 15:46:30 +07:00
block_snapshots.go Upgrade libp2p (enables go 1.21 support) (#8288) 2023-09-29 22:11:13 +02:00
bor_snapshots.go Upgrade libp2p (enables go 1.21 support) (#8288) 2023-09-29 22:11:13 +02:00
dump_test.go Replaced old version of Engine API with newer version (#7972) 2023-08-05 23:33:10 +02:00