go-ethereum/consensus
wgr523 d578e092cd
stop reorg at committed blocks (#276)
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
2023-06-08 01:16:13 +08:00
..
clique new EVM Upgrade 2021-09-21 16:53:46 +05:30
ethash remove test files 2023-02-23 14:22:59 +08:00
misc new EVM Upgrade 2021-09-21 16:53:46 +05:30
tests stop reorg at committed blocks (#276) 2023-06-08 01:16:13 +08:00
XDPoS merge waitPeriod into minePeriod (#274) 2023-05-31 23:40:50 +10:00
consensus.go add a simple test to verify DB is the same across different engine versions 2021-10-16 13:22:48 +11:00
errors.go check yourturn again during prepare (#72) 2022-03-25 21:03:37 +11:00