nimbus-eth2/beacon_chain
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
..
block_pools Dual headed fork choice [Revolution] (#1238) 2020-07-09 11:29:32 +02:00
fork_choice Dual headed fork choice [Revolution] (#1238) 2020-07-09 11:29:32 +02:00
spec Dual headed fork choice [Revolution] (#1238) 2020-07-09 11:29:32 +02:00
ssz implement aggregated attestation receiving/validating (#1272) 2020-07-02 16:15:27 +00:00
tracing replace links to Apache and MIT licenses with HTTPS versions (#592) 2019-11-25 16:30:02 +01:00
.gitignore interop updates 2019-09-02 22:14:18 +03:00
attestation_aggregation.nim update 29 spec refs to v0.12.1 2020-07-08 20:49:25 +00:00
attestation_pool.nim Dual headed fork choice [Revolution] (#1238) 2020-07-09 11:29:32 +02:00
beacon_chain_db.nim Trusted blocks (#1227) 2020-06-25 12:23:10 +02:00
beacon_node.nim Dual headed fork choice [Revolution] (#1238) 2020-07-09 11:29:32 +02:00
beacon_node.nim.cfg [Split fork choice PR] Derisk-ed attestation checks changes (#1154) 2020-06-10 08:58:12 +02:00
beacon_node_common.nim Dual headed fork choice [Revolution] (#1238) 2020-07-09 11:29:32 +02:00
beacon_node_types.nim Dual headed fork choice [Revolution] (#1238) 2020-07-09 11:29:32 +02:00
block_pool.nim Dual headed fork choice [Revolution] (#1238) 2020-07-09 11:29:32 +02:00
conf.nim Re-wire the sending of deposits by the 'deposits create' command 2020-06-24 23:06:05 +03:00
deposit_contract.nim Crypto rng (#1284) 2020-07-07 17:51:02 +02:00
eth2_discovery.nim Crypto rng (#1284) 2020-07-07 17:51:02 +02:00
eth2_json_rpc_serialization.nim reorder ssz (#1099) 2020-06-03 15:52:02 +02:00
eth2_network.nim update 29 spec refs to v0.12.1 2020-07-08 20:49:25 +00:00
extras.nim remove skipMerkleValidation and skipBlockParentRootValidation (#1197) 2020-06-18 07:56:47 +02:00
faststreams_backend.nim Enable Snappy by default (using LibP2P steams for now) 2020-05-13 12:18:42 +03:00
inspector.nim Crypto rng (#1284) 2020-07-07 17:51:02 +02:00
interop.nim eth2hash -> eth2digest 2020-06-16 13:30:21 +00:00
keystore_management.nim Crypto rng (#1284) 2020-07-07 17:51:02 +02:00
libp2p_json_serialization.nim bump libp2p (#1267) 2020-07-01 13:41:40 +02:00
libp2p_streams_backend.nim Don't use StackArray in ssz; Drop the support for strings 2020-05-24 19:00:34 +03:00
logtrace.nim Add check for late attestation sent messages in logtrace tool. 2020-07-02 10:36:04 +03:00
mainchain_monitor.nim Fix #1266 2020-07-01 22:01:50 +03:00
merkle_minimal.nim Working genesis detection for Altona 2020-06-29 02:18:48 +03:00
nimbus_binary_common.nim - work towards more REST API endpoints being implemented 2020-07-08 13:29:03 +03:00
nimquery.nim Integrate Discovery V5 and support ENR bootstrap records 2020-01-21 01:26:57 +02:00
peer_pool.nim Fix PeerPool issue with peers overflow maxPeers setting. (#1285) 2020-07-07 11:49:08 +02:00
request_manager.nim Forward sync refactoring. (#1191) 2020-06-18 12:03:36 +02:00
ssz.nim Implement more of the KeyStore spec and integrate it in the beacon node 2020-06-11 17:40:08 +03:00
sszdump.nim Trusted blocks (#1227) 2020-06-25 12:23:10 +02:00
statusbar.nim Cosmetic improvement for the statusbar 2020-06-11 17:40:08 +03:00
sync_manager.nim Fix names 2020-07-07 15:34:04 +03:00
sync_protocol.nim Trusted blocks (#1227) 2020-06-25 12:23:10 +02:00
sync_protocol.nim.generated.nim don't crash on unknown disconnection reason, fix disconnection reason enum (#1208) 2020-06-20 09:24:33 +02:00
time.nim update 24 v0.11.x spec refs to v0.12.1 2020-06-17 12:11:03 +00:00
validator_api.nim - work towards more REST API endpoints being implemented 2020-07-08 13:29:03 +03:00
validator_client.nim - work towards more REST API endpoints being implemented 2020-07-08 13:29:03 +03:00
validator_client.nim.cfg first batch of work towards the VC/BN split: 2020-05-25 16:23:15 +03:00
validator_duties.nim Dual headed fork choice [Revolution] (#1238) 2020-07-09 11:29:32 +02:00
validator_pool.nim update 29 spec refs to v0.12.1 2020-07-08 20:49:25 +00:00
version.nim More version in --version and less version in --help (#1260) 2020-06-30 14:23:52 +02:00