go-ethereum/eth
Bosul Mun a9e66262af
eth/fetcher: add metrics for tracking slow peers (#32964)
This PR introduces two new metrics to monitor slow peers
- One tracks the number of slow peers.
- The other measures the time it takes for those peers to become
"unfrozen"

These metrics help with monitoring and evaluating the need for future
optimization of the transaction fetcher and peer management, for example i
n peer scoring and prioritization.

Additionally, this PR moves the fetcher metrics into a separate file, 
`eth/fetcher/metrics.go`.
2025-10-20 10:10:58 +08:00
..
catalyst eth/catalyst: remove useless log on enabling Engine API (#32901) 2025-10-14 11:01:43 +08:00
downloader eth/downloader: skip nil peer in GetHeader (#32369) 2025-08-11 21:34:59 +08:00
ethconfig eth/ethconfig : fix eth generate config (#32929) 2025-10-17 10:35:44 +08:00
fetcher eth/fetcher: add metrics for tracking slow peers (#32964) 2025-10-20 10:10:58 +08:00
filters eth/filters: uninstall subscription in filter apis on error (#32894) 2025-10-13 13:10:44 +02:00
gasestimator eth/gasestimator: check ErrGasLimitTooHigh conditions (#32348) 2025-08-05 19:51:16 +08:00
gasprice core: consolidate BlockChain constructor options (#31925) 2025-06-19 12:21:15 +02:00
protocols eth/protocols/eth: reject message containing duplicated txs and drop peer (#32728) 2025-10-15 10:24:48 +02:00
syncer eth/syncer: stop ticker to prevent resource leak (#32443) 2025-08-19 09:47:48 +08:00
tracers core: refactor StateProcessor to accept ChainContext interface (#32739) 2025-10-02 14:34:06 +02:00
api_admin.go eth: ignore genesis block on importChain (#27956) 2023-08-21 13:32:34 -04:00
api_backend.go internal/ethapi: add eth_SendRawTransactionSync (#32830) 2025-10-16 17:34:47 +02:00
api_backend_test.go core/txpool: add eip2681 check for incoming transactions (#32726) 2025-09-25 13:15:12 +02:00
api_debug.go core/stateless: API methods to get execution witness of block 2025-09-16 14:46:28 +02:00
api_debug_test.go core: consolidate BlockChain constructor options (#31925) 2025-06-19 12:21:15 +02:00
api_miner.go miner: refactor the miner, make the pending block on demand (#28623) 2024-03-06 14:45:03 +02:00
backend.go all: add bpo1 and bpo2 overrides (#32737) 2025-09-25 10:21:41 +02:00
dropper.go eth: add logic to drop peers randomly when saturated (#31476) 2025-04-14 12:45:27 +02:00
handler.go eth: do not warn on switching from snap sync to full sync (#32900) 2025-10-14 11:03:31 +08:00
handler_eth.go eth: check blob transaction validity on the peer goroutine when received (#31219) 2025-03-01 14:10:38 +01:00
handler_eth_test.go core: consolidate BlockChain constructor options (#31925) 2025-06-19 12:21:15 +02:00
handler_snap.go eth: check snap satelliteness, delegate drop to eth (#22235) 2021-02-02 10:44:36 +02:00
handler_test.go eth: stabilize tx relay peer selection (#31714) 2025-08-28 16:05:54 +02:00
peer.go eth/protocols/eth: implement eth/69 (#29158) 2025-05-16 17:10:47 +02:00
peerset.go eth: stabilize tx relay peer selection (#31714) 2025-08-28 16:05:54 +02:00
state_accessor.go core, eth, triedb: serve historical states over RPC (#31161) 2025-06-25 16:50:54 +08:00
sync.go core/txpool/blobpool: filter blob txs with sidecar version (#32577) 2025-09-15 20:48:59 +08:00
sync_test.go eth: replace hardcoded sleep with polling loop in snap sync test (#32499) 2025-08-27 09:49:47 +08:00