lighthouse/beacon_node/beacon_chain/src
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
..
attestation_verification.rs [Altair] Sync committee pools (#2321) 2021-07-15 00:52:02 +00:00
beacon_chain.rs [Altair] Sync committee pools (#2321) 2021-07-15 00:52:02 +00:00
beacon_fork_choice_store.rs Tree hash caching and optimisations for Altair (#2459) 2021-07-23 00:23:53 +00:00
beacon_proposer_cache.rs Optimize validator duties (#2243) 2021-03-17 05:09:57 +00:00
beacon_snapshot.rs Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
block_verification.rs Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
builder.rs [Altair] Sync committee pools (#2321) 2021-07-15 00:52:02 +00:00
chain_config.rs Implement database temp states to reduce memory usage (#1798) 2020-10-23 01:27:51 +00:00
errors.rs [Altair] Sync committee pools (#2321) 2021-07-15 00:52:02 +00:00
eth1_chain.rs Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
events.rs Reorg events (#2090) 2021-06-17 02:10:46 +00:00
head_tracker.rs Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
lib.rs [Altair] Sync committee pools (#2321) 2021-07-15 00:52:02 +00:00
metrics.rs [Altair] Sync committee pools (#2321) 2021-07-15 00:52:02 +00:00
migrate.rs Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
naive_aggregation_pool.rs [Altair] Sync committee pools (#2321) 2021-07-15 00:52:02 +00:00
observed_aggregates.rs [Altair] Sync committee pools (#2321) 2021-07-15 00:52:02 +00:00
observed_attesters.rs [Altair] Sync committee pools (#2321) 2021-07-15 00:52:02 +00:00
observed_block_producers.rs Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
observed_operations.rs Clippy 1.49.0 updates and dht persistence test fix (#2156) 2021-01-19 00:34:28 +00:00
persisted_beacon_chain.rs Fix head tracker concurrency bugs (#1771) 2020-10-19 05:58:39 +00:00
persisted_fork_choice.rs v0.12 fork choice update (#1229) 2020-06-17 11:10:22 +10:00
schema_change.rs [Altair] Sync committee pools (#2321) 2021-07-15 00:52:02 +00:00
shuffling_cache.rs Advance state to next slot after importing block (#2174) 2021-02-15 07:17:52 +00:00
snapshot_cache.rs Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
state_advance_timer.rs Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
sync_committee_verification.rs [Altair] Sync committee pools (#2321) 2021-07-15 00:52:02 +00:00
test_utils.rs [Altair] Sync committee pools (#2321) 2021-07-15 00:52:02 +00:00
timeout_rw_lock.rs Add timeouts to canonical head rwlock (#759) 2020-01-06 17:30:37 +11:00
validator_monitor.rs Altair consensus changes and refactors (#2279) 2021-07-09 06:15:32 +00:00
validator_pubkey_cache.rs [Altair] Sync committee pools (#2321) 2021-07-15 00:52:02 +00:00