plugeth/eth/downloader
Péter Szilágyi 3e795881ea
eth, p2p/msgrate: move peer QoS tracking to its own package and use it for snap (#22876)
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.
2021-05-19 14:09:03 +02:00
..
api.go all: remove redundant conversions and import names (#21903) 2020-11-25 21:00:23 +01:00
downloader_test.go core, eth: abort snapshot generation on snap sync and resume later 2021-04-30 17:03:10 +03:00
downloader.go eth, p2p/msgrate: move peer QoS tracking to its own package and use it for snap (#22876) 2021-05-19 14:09:03 +02:00
events.go cmd,eth: 16400 Add an option to stop geth once in sync. WIP for light mode (#17321) 2019-01-30 08:40:36 +01:00
metrics.go eth/downloader: refactor downloader + queue (#21263) 2020-07-24 10:46:26 +03:00
modes.go eth/downloader: fix typo in comment (#22019) 2020-12-21 15:39:58 +01:00
peer.go eth, p2p/msgrate: move peer QoS tracking to its own package and use it for snap (#22876) 2021-05-19 14:09:03 +02:00
queue_test.go eth/downloader: enhanced test cases for downloader queue (#22114) 2021-01-05 14:56:01 +01:00
queue.go eth/downloader: remove unnecessary condition (#22052) 2020-12-27 22:26:42 +01:00
resultstore.go eth/downloader: refactor downloader + queue (#21263) 2020-07-24 10:46:26 +03:00
statesync.go eth, p2p/msgrate: move peer QoS tracking to its own package and use it for snap (#22876) 2021-05-19 14:09:03 +02:00
testchain_test.go eth/downloader: dynamically move pivot even during chain sync 2020-09-18 11:37:42 +03:00
types.go eth: conform better to the golint standards (#16783) 2018-06-14 13:14:52 +03:00