lighthouse/beacon_node
realbigsean b75df29501 minimize the number of places we are calling update_pubkey_cache (#1626)
## Issue Addressed

- Resolves #1080

## Proposed Changes

- Call `update_pubkey_cache` only in the `build_all_caches` method and `get_validator_index` method. 

## Additional Info

This does reduce the number of places the cache is updated, making it simpler. But the `get_validator_index` method is used a couple times when we are iterating through the entire validator registry (or set of active validators). Before, we would only call `update_pubkey_cache` once before iterating through all validators.  So I'm not _totally_ sure this change is worth it.
2020-09-23 01:19:56 +00:00
..
beacon_chain Apply hotfix for inconsistent head (#1639) 2020-09-22 02:06:10 +00:00
client Apply hotfix for inconsistent head (#1639) 2020-09-22 02:06:10 +00:00
eth1 Eth1 network exit on wrong network id (#1563) 2020-08-31 02:36:17 +00:00
eth2_libp2p Add trusted peers (#1640) 2020-09-22 01:12:36 +00:00
genesis Lighthouse crate v0.2.0 bump (#1450) 2020-08-06 03:43:05 +00:00
network Subscribe to subnets an epoch in advance (#1600) 2020-09-22 07:29:34 +00:00
operation_pool Lighthouse crate v0.2.0 bump (#1450) 2020-08-06 03:43:05 +00:00
rest_api minimize the number of places we are calling update_pubkey_cache (#1626) 2020-09-23 01:19:56 +00:00
src Add trusted peers (#1640) 2020-09-22 01:12:36 +00:00
store Update LevelDB to v0.8.6, removing patch (#1636) 2020-09-21 11:53:53 +00:00
tests Improve tokio task execution (#1181) 2020-06-04 21:48:05 +10:00
timer Lighthouse crate v0.2.0 bump (#1450) 2020-08-06 03:43:05 +00:00
websocket_server Lighthouse crate v0.2.0 bump (#1450) 2020-08-06 03:43:05 +00:00
Cargo.toml Bump to v0.2.11 (#1645) 2020-09-22 04:45:15 +00:00