plugeth/eth/downloader
Péter Szilágyi bf1798e04e
common/prque: generic priority queue (#26290)
* common, core, eth, les, trie: make prque generic

* les/vflux/server: fixed issues in priorityPool

* common, core, eth, les, trie: make priority also generic in prque

* les/flowcontrol: add test case for priority accumulator overflow

* les/flowcontrol: avoid priority value overflow

* common/prque: use int priority in some tests

No need to convert to int64 when we can just change the type used by the
queue.

* common/prque: remove comment about int64 range

---------

Co-authored-by: Zsolt Felfoldi <zsfelfoldi@gmail.com>
Co-authored-by: Felix Lange <fjl@twurst.com>
2023-02-09 13:03:54 +02:00
..
api.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
beaconsync.go eth/downloader: move the pivot in beacon sync mode too (#26453) 2023-01-10 12:16:54 -05:00
downloader_test.go all: implement withdrawals (EIP-4895) (#26484) 2023-01-25 15:32:25 +01:00
downloader.go all: implement withdrawals (EIP-4895) (#26484) 2023-01-25 15:32:25 +01: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
fetchers_concurrent_bodies.go all: implement withdrawals (EIP-4895) (#26484) 2023-01-25 15:32:25 +01:00
fetchers_concurrent_headers.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
fetchers_concurrent_receipts.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
fetchers_concurrent.go common/prque: generic priority queue (#26290) 2023-02-09 13:03:54 +02:00
fetchers.go eth: pre-process downloader responses on the peer reader thread 2021-12-01 20:18:12 +02:00
metrics.go eth: request id dispatcher and direct req/reply APIs (#23576) 2021-11-26 13:26:03 +02:00
modes.go eth: request id dispatcher and direct req/reply APIs (#23576) 2021-11-26 13:26:03 +02:00
peer.go eth, les: unlock downloader peerSet if there's an error (#25546) 2022-08-19 09:02:47 +03:00
queue_test.go all: implement withdrawals (EIP-4895) (#26484) 2023-01-25 15:32:25 +01:00
queue.go common/prque: generic priority queue (#26290) 2023-02-09 13:03:54 +02:00
resultstore.go all: fix docstrings 2022-10-04 09:18:02 +02:00
skeleton_test.go eth/downloader: create repro testcase for beacon header loss 2023-01-09 12:12:25 +02:00
skeleton.go eth/downloader: fix cornercase when clean stale beacon headers (#26441) 2023-01-12 11:19:16 +01:00
statesync.go eth: request id dispatcher and direct req/reply APIs (#23576) 2021-11-26 13:26:03 +02:00
testchain_test.go all: cleanup tests (#25641) 2022-09-07 20:21:59 +02:00