go-ethereum/eth/downloader
Péter Szilágyi 8f66ea3786
eth/downloader: implement beacon sync (#23982)
* eth/downloader: implement beacon sync

* eth/downloader: fix a crash if the beacon chain is reduced in length

* eth/downloader: fix beacon sync start/stop thrashing data race

* eth/downloader: use a non-nil pivot even in degenerate sync requests

* eth/downloader: don't touch internal state on beacon Head retrieval

* eth/downloader: fix spelling mistakes

* eth/downloader: fix some typos

* eth: integrate legacy/beacon sync switchover and UX

* eth: handle UX wise being stuck on post-merge TTD

* core, eth: integrate the beacon client with the beacon sync

* eth/catalyst: make some warning messages nicer

* eth/downloader: remove Ethereum 1&2 notions in favor of merge

* core/beacon, eth: clean up engine API returns a bit

* eth/downloader: add skeleton extension tests

* eth/catalyst: keep non-kiln spec, handle mining on ttd

* eth/downloader: add beacon header retrieval tests

* eth: fixed spelling, commented failing tests out

* eth/downloader: review fixes

* eth/downloader: drop peers failing to deliver beacon headers

* core/rawdb: track beacon sync data in db inspect

* eth: fix review concerns

* internal/web3ext: nit

Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
2022-03-11 14:14:45 +02:00
..
api.go all: remove redundant conversions and import names (#21903) 2020-11-25 21:00:23 +01:00
beaconsync.go eth/downloader: implement beacon sync (#23982) 2022-03-11 14:14:45 +02:00
downloader.go eth/downloader: implement beacon sync (#23982) 2022-03-11 14:14:45 +02:00
downloader_test.go eth/downloader: implement beacon sync (#23982) 2022-03-11 14:14:45 +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
fetchers.go eth: pre-process downloader responses on the peer reader thread 2021-12-01 20:18:12 +02:00
fetchers_concurrent.go eth/downloader: implement beacon sync (#23982) 2022-03-11 14:14:45 +02:00
fetchers_concurrent_bodies.go eth: pre-process downloader responses on the peer reader thread 2021-12-01 20:18:12 +02:00
fetchers_concurrent_headers.go eth: pre-process downloader responses on the peer reader thread 2021-12-01 20:18:12 +02:00
fetchers_concurrent_receipts.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/downloader: implement beacon sync (#23982) 2022-03-11 14:14:45 +02:00
queue.go eth: pre-process downloader responses on the peer reader thread 2021-12-01 20:18:12 +02:00
queue_test.go eth: pre-process downloader responses on the peer reader thread 2021-12-01 20:18:12 +02:00
resultstore.go eth/downloader: refactor downloader + queue (#21263) 2020-07-24 10:46:26 +03:00
skeleton.go eth/downloader: implement beacon sync (#23982) 2022-03-11 14:14:45 +02:00
skeleton_test.go eth/downloader: implement beacon sync (#23982) 2022-03-11 14:14:45 +02:00
statesync.go eth: request id dispatcher and direct req/reply APIs (#23576) 2021-11-26 13:26:03 +02:00
testchain_test.go eth: request id dispatcher and direct req/reply APIs (#23576) 2021-11-26 13:26:03 +02:00