nimbus-eth2/beacon_chain/fork_choice
Etan Kissling 2a2bcea70d
group justified and finalized `Checkpoint` (#3841)
The justified and finalized `Checkpoint` are frequently passed around
together. This introduces a new `FinalityCheckpoint` data structure that
combines them into one.

Due to the large usage of this structure in fork choice, also took this
opportunity to update fork choice tests to the latest v1.2.0-rc.1 spec.
Many additional tests enabled, some need more work, e.g. EL mock blocks.
Also implemented `discard_equivocations` which was skipped in #3661,
and improved code reuse across fork choice logic while at it.
2022-07-06 13:33:02 +03:00
..
README.md update spec references from eth2.0-specs to consensus-specs and to v1.1.0-beta.2 (#2822) 2021-08-26 10:21:52 +02:00
fork_choice.nim group justified and finalized `Checkpoint` (#3841) 2022-07-06 13:33:02 +03:00
fork_choice_types.nim group justified and finalized `Checkpoint` (#3841) 2022-07-06 13:33:02 +03:00
proto_array.nim group justified and finalized `Checkpoint` (#3841) 2022-07-06 13:33:02 +03:00