go-ethereum/cmd/utils
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
..
cmd.go all: remove forkchoicer and reorgNeeded (#29179) 2024-09-04 15:03:06 +02:00
diskusage_openbsd.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
diskusage_windows.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
diskusage.go all: more linters (#24783) 2022-06-13 16:24:45 +02:00
export_test.go all: simplify tests using t.TempDir() (#30150) 2024-07-15 15:26:58 +02:00
flags_legacy.go eth/ethconfig: remove LES server config (#30298) 2024-08-15 11:42:39 +02:00
flags_test.go cmd: run tests in parallel (#28546) 2023-11-20 10:52:14 +01:00
flags.go all: remove forkchoicer and reorgNeeded (#29179) 2024-09-04 15:03:06 +02:00
history_test.go all: remove forkchoicer and reorgNeeded (#29179) 2024-09-04 15:03:06 +02:00
prompt_test.go cmd: run tests in parallel (#28546) 2023-11-20 10:52:14 +01:00
prompt.go all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00