nimbus-eth2/beacon_chain/block_pools
Jacek Sieka f0720faf17
Fork choice fixes (#1350)
* remove cruft

* reenable fork choice and fix several issues

* in addForkChoice_v2, the `.error` field would be accessed even when
Result is ok
* remove workaround for invalid block structure in fork choice
* fix `tmpState` being used recursively in callback, causing state
corruption while processing attestation
* fix block callback being called twice per block
* pass state to callback to avoid unnecessary rewinding

* enable head select, fix another bug

* never use `get` without `isOk`
* log nil blockref in case blockref is nil

* add missing error checking

* use correct epoch when updating attestation message
2020-07-22 11:42:55 +02:00
..
block_pools_types.nim Fork choice fixes (#1350) 2020-07-22 11:42:55 +02:00
candidate_chains.nim faster syncing (#1348) 2020-07-22 09:51:45 +02:00
clearance.nim Fork choice fixes (#1350) 2020-07-22 11:42:55 +02:00
quarantine.nim cache block hash (#1329) 2020-07-16 15:16:51 +02:00