nimbus-eth2/beacon_chain/fork_choice
Mamy Ratsimbazafy 3cdae9f6be
Dual headed fork choice [Revolution] (#1238)
* Dual headed fork choice

* fix finalizedEpoch not moving

* reduce fork choice verbosity

* Add failing tests due to pruning

* Properly handle duplicate blocks in sync

* test_block_pool also add a test for duplicate blocks

* comments addressing review

* Fix fork choice v2, was missing integrating block proposed

* remove a spurious debug writeStackTrace

* update block_sim

* Use OrderedTable to ensure that we always load parents before children in fork choice

* Load the DAG data in fork choice at init if there is some (can sync witti)

* Cluster of quarantined blocks were not properly added to the fork choice

* Workaround async gcsafe warnings

* Update blockpoool tests

* Do the callback before clearing the quarantine

* Revert OrderedTable, implement topological sort of DAG, allow forkChoice to be initialized from arbitrary finalized heads

* Make it work with latest devel - Altona readyness

* Add a recovery mechanism when forkchoice desyncs with blockpool

* add the current problematic node to the stack

* Fix rebase indentation bug (but still producing invalid block)

* Fix cache at epoch boundaries and lateBlock addition
2020-07-09 11:29:32 +02:00
..
README.md bump a couple more eth2 phase0 spec refs to v0.11.1 2020-04-17 16:37:52 +03:00
fork_choice.nim Dual headed fork choice [Revolution] (#1238) 2020-07-09 11:29:32 +02:00
fork_choice_types.nim [Split fork choice PR] Derisk-ed attestation checks changes (#1154) 2020-06-10 08:58:12 +02:00
proto_array.nim Dual headed fork choice [Revolution] (#1238) 2020-07-09 11:29:32 +02:00