plugeth/eth
Péter Szilágyi 452a12aa79
eth/downloader: move the pivot in beacon sync mode too (#26453)
In legacy (pre-merge) sync mode, headers were contiguously downloaded from the network and when no more headers were available, we checked every few seconds whether there are 64 new blocks to move the pivot.

In beacon (post-merge) sync mode, we don't need to check for new skeleton headers non stop, since those re delivered one by one by the engine API. The missing code snippet from the header fetcher was to actually look at the latest head and move the pivot if it was more than 2*64-8 away. This PR adds the missing movement logic.
2023-01-10 12:16:54 -05:00
..
catalyst tests: update tests (#26314) 2022-12-20 09:56:52 -05:00
downloader eth/downloader: move the pivot in beacon sync mode too (#26453) 2023-01-10 12:16:54 -05:00
ethconfig cmd, core, eth, els, params: disallow setheads below genesis, tweaks 2023-01-06 15:29:58 +02:00
fetcher all: use github.com/deckarep/golang-set/v2 (generic set) (#26159) 2022-11-14 15:16:52 +01:00
filters eth/filters, eth/tracers: add request cancellation checks (#26320) 2022-12-15 07:52:07 -05:00
gasprice common/lru: add generic LRU implementation (#26162) 2022-11-14 15:41:56 +01:00
protocols Merge pull request #25878 from MariusVanDerWijden/shanghai-by-time 2023-01-06 16:10:12 +02:00
tracers eth/tracers: use non-threaded tracechain (#24283) 2023-01-10 15:11:53 +01:00
api_backend.go eth/filters, eth/tracers: add request cancellation checks (#26320) 2022-12-15 07:52:07 -05:00
api_test.go core/state: return error when storage trie can't be opened (#26350) 2022-12-21 10:21:21 +01:00
api.go core/state: return error when storage trie can't be opened (#26350) 2022-12-21 10:21:21 +01:00
backend.go cmd, core, eth, els, params: disallow setheads below genesis, tweaks 2023-01-06 15:29:58 +02:00
bloombits.go eth: move eth.Config to a common package (#22205) 2021-02-05 13:51:15 +01:00
handler_eth_test.go eth, catalyst: fix flaky tests (#26153) 2022-11-11 13:22:54 +01:00
handler_eth.go eth: implement eth/68 (#25980) 2022-10-31 16:23:26 +02:00
handler_snap.go eth: check snap satelliteness, delegate drop to eth (#22235) 2021-02-02 10:44:36 +02:00
handler_test.go all: cleanup tests (#25641) 2022-09-07 20:21:59 +02:00
handler.go eth, les: polish forkid a bit, fix races and transition validation 2023-01-06 15:29:57 +02:00
peer.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
peerset.go all: fix some typos (#25551) 2022-08-19 09:00:21 +03:00
state_accessor.go eth/filters, eth/tracers: add request cancellation checks (#26320) 2022-12-15 07:52:07 -05:00
sync_test.go eth: introduce eth67 protocol (#24093) 2022-06-15 12:56:47 +02:00
sync.go cmd, core, eth, les, params: add merge-passed chain config (#24538) 2022-08-01 15:13:25 +03:00