go-ethereum/eth/downloader
Marius van der Wijden b0b67be0a2
all: remove forkchoicer and reorgNeeded (#29179)
This PR changes how sidechains are handled. 

Before the merge, it was possible to import a chain with lower td and not set it as canonical. After the merge, we expect every chain that we get via InsertChain to be canonical. Non-canonical blocks can still be inserted
with InsertBlockWIthoutSetHead.

If during the InsertChain, the existing chain is not canonical anymore, we mark it as a sidechain and send the SideChainEvents normally.
2024-09-04 15:03:06 +02:00
..
api.go eth/downloader, eth/tracer: fix typos in comments (#29707) 2024-05-29 14:43:07 +02:00
beacondevsync.go cmd, eth: switch the dev synctarget to hash from block (#28209) 2023-09-29 22:11:15 +03:00
beaconsync.go eth/downloader: gofmt (#30261) 2024-08-02 17:36:28 +02:00
downloader_test.go all: remove forkchoicer and reorgNeeded (#29179) 2024-09-04 15:03:06 +02:00
downloader.go eth, eth/downloader: remove references to LightChain, LightSync (#29711) 2024-05-28 19:52:08 +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_concurrent_bodies.go all: implement EIP-6110, execution layer triggered deposits (#29431) 2024-09-04 14:33:51 +02:00
fetchers_concurrent_receipts.go cmd/devp2p, eth: drop eth/66 (#28239) 2023-10-03 15:03:19 +03:00
fetchers_concurrent.go eth/downloader: purge pre-merge sync code (#29281) 2024-04-30 15:46:53 +02:00
fetchers.go eth/downloader: purge pre-merge sync code (#29281) 2024-04-30 15:46:53 +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, eth/downloader: remove references to LightChain, LightSync (#29711) 2024-05-28 19:52:08 +02:00
peer.go cmd, eth: switch the dev synctarget to hash from block (#28209) 2023-09-29 22:11:15 +03:00
queue_test.go all: implement EIP-6110, execution layer triggered deposits (#29431) 2024-09-04 14:33:51 +02:00
queue.go all: implement EIP-6110, execution layer triggered deposits (#29431) 2024-09-04 14:33:51 +02:00
resultstore.go all: fix typos in comments (#28682) 2023-12-18 09:35:12 +01:00
skeleton_test.go eth/downloader: fix flaky test (#29852) 2024-05-27 16:26:55 +02:00
skeleton.go eth/downloader: fix case where skeleton reorgs below the filled block (#29358) 2024-04-24 09:07:39 +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 all: remove forkchoicer and reorgNeeded (#29179) 2024-09-04 15:03:06 +02:00