lighthouse/consensus
Michael Sproul affea585f4 Remove CountUnrealized (#4357)
## Issue Addressed

Closes #4332

## Proposed Changes

Remove the `CountUnrealized` type, defaulting unrealized justification to _on_. This fixes the #4332 issue by ensuring that importing the same block to fork choice always results in the same outcome.

Finalized sync speed may be slightly impacted by this change, but that is deemed an acceptable trade-off until the optimisation from #4118 is implemented.

TODO:

- [x] Also check that the block isn't a duplicate before importing
2023-06-16 06:44:31 +00:00
..
cached_tree_hash Split common crates out into their own repos (#3890) 2023-04-28 01:15:40 +00:00
fork_choice Remove CountUnrealized (#4357) 2023-06-16 06:44:31 +00:00
int_to_bytes Update to Rust 1.59 and 2021 edition (#3038) 2022-02-25 00:10:17 +00:00
merkle_proof Split common crates out into their own repos (#3890) 2023-04-28 01:15:40 +00:00
proto_array DB migration for fork choice cleanup (#4265) 2023-05-15 02:10:42 +00:00
safe_arith Inline safe_arith methods (#3229) 2022-05-31 06:09:12 +00:00
state_processing Fix attestation withdrawals root mismatch (#4249) 2023-05-09 10:48:15 +00:00
swap_or_not_shuffle Split common crates out into their own repos (#3890) 2023-04-28 01:15:40 +00:00
types Use JSON by default for Deposit Snapshot Sync (#4397) 2023-06-15 08:42:20 +00:00