• 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
..
api.go Loading commit data...
downloader.go Loading commit data...
downloader_test.go Loading commit data...
events.go Loading commit data...
metrics.go Loading commit data...
modes.go Loading commit data...
peer.go Loading commit data...
queue.go Loading commit data...
queue_test.go Loading commit data...
resultstore.go Loading commit data...
statesync.go Loading commit data...
testchain_test.go Loading commit data...
types.go Loading commit data...