op-geth/les/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
downloader.go all: prepare for path-based trie storage (#26603) 2023-02-06 10:28:40 -05:00
downloader_test.go cmd, core, eth, les, light: track deleted nodes (#25757) 2022-09-27 10:01:02 +02:00
events.go les: duplicate downloader and fetcher to allow progressive refactoring 2021-09-10 11:11:59 +03:00
metrics.go les: duplicate downloader and fetcher to allow progressive refactoring 2021-09-10 11:11:59 +03:00
modes.go les: duplicate downloader and fetcher to allow progressive refactoring 2021-09-10 11:11:59 +03:00
peer.go eth, les: unlock downloader peerSet if there's an error (#25546) 2022-08-19 09:02:47 +03:00
queue.go common/prque: generic priority queue (#26290) 2023-02-09 13:03:54 +02:00
queue_test.go all: cleanup the APIs for initializing genesis (#25473) 2022-08-09 12:44:39 +03:00
resultstore.go all: fix spelling mistakes (#25961) 2022-10-11 09:37:00 +02:00
statesync.go all: prepare for path-based trie storage (#26603) 2023-02-06 10:28:40 -05:00
testchain_test.go all: cleanup the APIs for initializing genesis (#25473) 2022-08-09 12:44:39 +03:00
types.go les: duplicate downloader and fetcher to allow progressive refactoring 2021-09-10 11:11:59 +03:00