mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-20 13:44:31 +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 |
||
|---|---|---|
| .. | ||
| adaptor_test.go | ||
| authorised_masternode_test.go | ||
| commit_test.go | ||
| forensics_test.go | ||
| helper.go | ||
| initial_test.go | ||
| mine_test.go | ||
| penalty_test.go | ||
| proposed_block_test.go | ||
| reward_test.go | ||
| sync_info_test.go | ||
| timeout_test.go | ||
| verify_blockinfo_test.go | ||
| verify_header_test.go | ||
| vote_test.go | ||