1
0
Fork 0
forked from forks/go-ethereum
go-ethereum-modded-tocallarg/p2p/discover
Martin HS 14cc967d19
all: remove dependency on golang.org/exp (#29314)
This change includes a leftovers from https://github.com/ethereum/go-ethereum/pull/29307
- using the [new `slices` package](https://go.dev/doc/go1.21#slices) and
- using the [new `cmp.Ordered`](https://go.dev/doc/go1.21#cmp) instead of exp `constraints.Ordered`
2024-03-25 07:50:18 +01:00
..
v4wire all: use rlp.DecodeBytes instead of rlp.Decode where possible (#27994) 2023-08-24 11:47:42 +03:00
v5wire all: use min/max/clear from go1.21 (#29307) 2024-03-21 13:50:13 +01:00
common.go all: use min/max/clear from go1.21 (#29307) 2024-03-21 13:50:13 +01:00
lookup.go p2p: use errors.Is for error comparison (#24882) 2022-06-07 17:27:21 +02:00
metrics.go all: fix docstring names (#28923) 2024-02-07 21:10:49 +01:00
node.go p2p/discover: implement v5.1 wire protocol (#21647) 2020-10-14 12:28:17 +02:00
ntp.go all: remove dependency on golang.org/exp (#29314) 2024-03-25 07:50:18 +01:00
table.go p2p/discover: add liveness check in collectTableNodes (#28686) 2023-12-18 10:47:21 +01:00
table_test.go p2p/discover: add liveness check in collectTableNodes (#28686) 2023-12-18 10:47:21 +01:00
table_util_test.go all: remove dependency on golang.org/exp (#29314) 2024-03-25 07:50:18 +01:00
v4_lookup_test.go all: remove dependency on golang.org/exp (#29314) 2024-03-25 07:50:18 +01:00
v4_udp.go all: replace fmt.Errorf() with errors.New() if no param required (#29126) 2024-02-29 11:56:46 +02:00
v4_udp_test.go p2p/discover: add liveness check in collectTableNodes (#28686) 2023-12-18 10:47:21 +01:00
v5_talk.go p2p/discover: concurrent TALKREQ handling (#27112) 2023-04-28 11:03:43 +02:00
v5_udp.go all: replace fmt.Errorf() with errors.New() if no param required (#29126) 2024-02-29 11:56:46 +02:00
v5_udp_test.go all: remove dependency on golang.org/exp (#29314) 2024-03-25 07:50:18 +01:00