Files
lighthouse/beacon_node
Jimmy Chen 2df714e2cd Tree states optimization using EpochCache (#4429)
* Relocate epoch cache to BeaconState

* Optimize per block processing by pulling previous epoch & current epoch calculation up.

* Revert `get_cow` change (no performance improvement)

* Initialize `EpochCache` in epoch processing and load it from state when getting base rewards.

* Initialize `EpochCache` at start of block processing if required.

* Initialize `EpochCache` in `transition_blocks` if `exclude_cache_builds` is enabled

* Fix epoch cache initialization logic

* Remove FIXME comment.

* Cache previous & current epochs in `consensus_context.rs`.

* Move `get_base_rewards` from `ConsensusContext` to `BeaconState`.

* Update Milhouse version
2023-06-30 11:25:51 +10:00
..
2023-06-27 15:04:39 +10:00
2023-06-27 15:04:39 +10:00
2023-06-27 15:04:39 +10:00