lighthouse/beacon_node
Michael Sproul 84e6d71950 Tree hash caching and optimisations for Altair (#2459)
## Proposed Changes

Remove the remaining Altair `FIXME`s from consensus land.

1. Implement tree hash caching for the participation lists. This required some light type manipulation, including removing the `TreeHash` bound from `CachedTreeHash` which was purely descriptive.
2. Plumb the proposer index through Altair attestation processing, to avoid calculating it for _every_ attestation (potentially 128ms on large networks). This duplicates some work from #2431, but with the aim of getting it in sooner, particularly for the Altair devnets.
3. Removes two FIXMEs related to `superstruct` and cloning, which are unlikely to be particularly detrimental and will be tracked here instead: https://github.com/sigp/superstruct/issues/5
2021-07-23 00:23:53 +00:00
..
beacon_chain Tree hash caching and optimisations for Altair (#2459) 2021-07-23 00:23:53 +00:00
client Bleeding edge discovery (#2435) 2021-07-15 16:43:17 +10:00
eth1 Bleeding edge discovery (#2435) 2021-07-15 16:43:17 +10:00
eth2_libp2p Bump discv5 to v0.1.0-beta.8 (#2471) 2021-07-21 07:10:52 +00:00
genesis Bleeding edge discovery (#2435) 2021-07-15 16:43:17 +10:00
http_api Tree hash caching and optimisations for Altair (#2459) 2021-07-23 00:23:53 +00:00
http_metrics Bleeding edge discovery (#2435) 2021-07-15 16:43:17 +10:00
network Global Network Behaviour Refactor (#2442) 2021-07-15 16:43:17 +10:00
operation_pool [Altair] Sync committee pools (#2321) 2021-07-15 00:52:02 +00:00
src Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
store [Altair] Sync committee pools (#2321) 2021-07-15 00:52:02 +00:00
tests Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
timer Bleeding edge discovery (#2435) 2021-07-15 16:43:17 +10:00
websocket_server Server sent events (#1920) 2020-12-04 00:18:58 +00:00
Cargo.toml Bleeding edge discovery (#2435) 2021-07-15 16:43:17 +10:00