nimbus-eth2/beacon_chain/spec
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
..
eth2_apis - work towards more REST API endpoints being implemented 2020-07-08 13:29:03 +03:00
presets update 29 spec refs to v0.12.1 2020-07-08 20:49:25 +00:00
beaconstate.nim Dual headed fork choice [Revolution] (#1238) 2020-07-09 11:29:32 +02:00
crypto.nim Crypto rng (#1284) 2020-07-07 17:51:02 +02:00
datatypes.nim add tests for unviable blocks (#1271) 2020-07-01 19:00:14 +02:00
digest.nim eth2hash -> eth2digest 2020-06-16 13:30:21 +00:00
english_word_list.txt Bump testutils 2020-06-01 16:58:28 +03:00
helpers.nim update 29 spec refs to v0.12.1 2020-07-08 20:49:25 +00:00
keystore.nim Crypto rng (#1284) 2020-07-07 17:51:02 +02:00
network.nim remove v0.11.3 support; add block_sim to CI (#1253) 2020-06-29 18:08:58 +00:00
signatures.nim implement aggregated attestation receiving/validating (#1272) 2020-07-02 16:15:27 +00:00
state_transition.nim Trusted blocks (#1227) 2020-06-25 12:23:10 +02:00
state_transition_block.nim update 29 spec refs to v0.12.1 2020-07-08 20:49:25 +00:00
state_transition_epoch.nim only calculate total_balance once per attestation delta application 2020-07-08 07:45:21 +00:00
state_transition_helpers.nim switch 12 unchanged spec references from 0.11.x to 0.12.1; line-wrap and remove pointless-to-counterproductive "return" 2020-06-15 10:10:31 +00:00
validator.nim update 20 beacon chain protocol spec refs 2020-06-18 08:39:28 +00:00