go-ethereum/eth/fetcher
Bosul Mun 88576c52e2
eth/fetcher: remove dangling peers from alternates (#32947)
This PR removes dangling peers in `alternates` map

In the current code, a dropped peer is removed from alternates for only
the specific transaction hash it was requesting. If that peer is listed
as an alternate for other transaction hashes, those entries still stick
around in alternates/announced even though that peer already got
dropped.
2025-10-20 10:26:55 +08:00
..
metrics.go eth/fetcher: add metrics for tracking slow peers (#32964) 2025-10-20 10:10:58 +08:00
tx_fetcher.go eth/fetcher: remove dangling peers from alternates (#32947) 2025-10-20 10:26:55 +08:00
tx_fetcher_test.go eth/fetcher: remove dangling peers from alternates (#32947) 2025-10-20 10:26:55 +08:00