forked from cerc-io/plugeth
3e795881ea
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. |
||
---|---|---|
.. | ||
api.go | ||
downloader_test.go | ||
downloader.go | ||
events.go | ||
metrics.go | ||
modes.go | ||
peer.go | ||
queue_test.go | ||
queue.go | ||
resultstore.go | ||
statesync.go | ||
testchain_test.go | ||
types.go |