go-ethereum/consensus
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
..
beacon consensus/beacon, core/types: add verkle witness builder (#30129) 2024-08-29 14:50:27 +02:00
clique all: remove forkchoicer and reorgNeeded (#29179) 2024-09-04 15:03:06 +02:00
ethash all: replace division with right shift if possible (#29911) 2024-06-28 18:08:31 +02:00
misc eth/tracers: live chain tracing with hooks (#29189) 2024-03-22 18:53:53 +01:00
consensus.go core: refactor consensus interface (#29283) 2024-03-20 14:58:47 +01:00
errors.go consensus/beacon: check that only the latest pow block is valid ttd block (#25187) 2022-06-29 15:13:19 +03:00