• Péter Szilágyi's avatar
    eth, p2p/msgrate: move peer QoS tracking to its own package and use it for snap (#22876) · 3e795881
    Péter Szilágyi authored
    This change extracts the peer QoS tracking logic from eth/downloader, moving
    it into the new package p2p/msgrate. The job of msgrate.Tracker is determining
    suitable timeout values and request sizes per peer.
    
    The snap sync scheduler now uses msgrate.Tracker instead of the hard-coded 15s
    timeout. This should make the sync work better on network links with high latency.
    3e795881
Name
Last commit
Last update
..
catalyst Loading commit data...
downloader Loading commit data...
ethconfig Loading commit data...
fetcher Loading commit data...
filters Loading commit data...
gasprice Loading commit data...
protocols Loading commit data...
tracers Loading commit data...
api.go Loading commit data...
api_backend.go Loading commit data...
api_test.go Loading commit data...
backend.go Loading commit data...
bloombits.go Loading commit data...
discovery.go Loading commit data...
handler.go Loading commit data...
handler_eth.go Loading commit data...
handler_eth_test.go Loading commit data...
handler_snap.go Loading commit data...
handler_test.go Loading commit data...
peer.go Loading commit data...
peerset.go Loading commit data...
state_accessor.go Loading commit data...
sync.go Loading commit data...
sync_test.go Loading commit data...