mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-19 21:31:37 +00:00
This PR makes committed blocks non-reorg-able inside `Blockchain` struct. This ensures V2 consensus safety property in the aspect of blockchain head: committed blocks' state will not be reorg and users will always see committed blocks (or their child blocks) as current head of the blockchain. * stop reorg at committed blocks * fix tests * fix tests |
||
|---|---|---|
| .. | ||
| clique | ||
| ethash | ||
| misc | ||
| tests | ||
| XDPoS | ||
| consensus.go | ||
| errors.go | ||