go-ethereum/p2p
Felix Lange 7c107c2691
Some checks are pending
/ Linux Build (push) Waiting to run
/ Linux Build (arm) (push) Waiting to run
/ Windows Build (push) Waiting to run
/ Docker Image (push) Waiting to run
p2p/discover: remove hot-spin in table refresh trigger (#32912)
This fixes a regression introduced in #32518. In that PR, we removed the
slowdown logic that would throttle lookups when the table runs empty.
Said logic was originally added in #20389.

Usually it's fine, but there exist pathological cases, such as hive
tests, where the node can only discover one other node, so it can only
ever query that node and won't get any results. In cases like these, we
need to throttle the creation of lookups to avoid crazy CPU usage.
2025-10-15 11:51:33 +02:00
..
discover p2p/discover: remove hot-spin in table refresh trigger (#32912) 2025-10-15 11:51:33 +02:00
dnsdisc
enode p2p/enode: optimize DistCmp (#32888) 2025-10-13 16:16:07 +02:00
enr
msgrate p2p: using math.MaxInt32 from go std lib (#32357) 2025-08-20 16:22:21 -06:00
nat
netutil p2p: using testing.B.Loop (#32664) 2025-09-19 16:38:36 -06:00
pipes
rlpx p2p: using testing.B.Loop (#32664) 2025-09-19 16:38:36 -06:00
tracker
config.go p2p: update MaxPeers comment (#32414) 2025-08-19 20:14:11 +08:00
config_toml.go
dial.go
dial_test.go
message.go
message_test.go
metrics.go
peer.go p2p: remove todo comment, as it's unnecessary (#32397) 2025-08-21 15:48:46 -06:00
peer_error.go
peer_test.go
protocol.go
server.go eth, p2p: improve dial speed by pre-fetching dial candidates (#31944) 2025-06-05 12:14:35 +02:00
server_nat.go
server_nat_test.go
server_test.go
transport.go
transport_test.go
util.go
util_test.go