lighthouse/eth2
Justin ed2f0b797c
Cleanup ExitCache (#1091)
* Cleanup `ExitCache`

Minor suggested cleanups after familiarising myself with the `ExitCache`.

* Remove "validators exiting/exited at a given epoch" comment in favour of the notion of exit epoch (less wishy-washy).
* Remove "or zero if not known" comment. The number of validators with that exit epoch is known, even in the case where it's zero.
* Rename `epoch` to `exit_epoch` for consistency and clarity.
* Rename `exits_per_epoch` to `exit_epoch_counts` for precision and clarity.
* Remove seemingly unnecessary complexity with `force_build`.
* Consider renaming `ExitCache` to `ExitEpochCache` for clarity.

* Update exit_cache.rs
2020-05-18 12:59:03 +10:00
..
operation_pool Stable futures (#879) 2020-05-17 11:16:48 +00:00
proto_array_fork_choice Stable futures (#879) 2020-05-17 11:16:48 +00:00
state_processing Stable futures (#879) 2020-05-17 11:16:48 +00:00
types Cleanup ExitCache (#1091) 2020-05-18 12:59:03 +10:00
utils Stable futures (#879) 2020-05-17 11:16:48 +00:00
README.md Refactor docs into mdbook (#547) 2019-10-02 11:04:56 +10:00

eth2

Common crates containing eth2-specific logic.