mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-15 02:42:38 +00:00
* 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