lighthouse/beacon_node/http_api/src
Michael Sproul 748475be1d Ensure caches are built for block_rewards POST API (#3305)
## Issue Addressed

Follow up to https://github.com/sigp/lighthouse/pull/3290 that fixes a caching bug

## Proposed Changes

Build the committee cache for the new `POST /lighthouse/analysis/block_rewards` API. Due to an unusual quirk of the total active balance cache the API endpoint would sometimes fail after loading a state from disk which had a current epoch cache _but not_  a total active balance cache. This PR adds calls to build the caches immediately before they're required, and has been running smoothly with `blockdreamer` the last few days.
2022-07-04 02:56:15 +00:00
..
attestation_performance.rs Separate execution payloads in the DB (#3157) 2022-05-12 00:42:17 +00:00
attester_duties.rs Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
block_id.rs Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
block_packing_efficiency.rs Separate execution payloads in the DB (#3157) 2022-05-12 00:42:17 +00:00
block_rewards.rs Ensure caches are built for block_rewards POST API (#3305) 2022-07-04 02:56:15 +00:00
database.rs Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
lib.rs Optimize historic committee calculation for the HTTP API (#3272) 2022-07-04 02:56:11 +00:00
metrics.rs Metrics and DEBG log for late gossip blocks (#2533) 2021-08-23 00:59:14 +00:00
proposer_duties.rs Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
state_id.rs Use async code when interacting with EL (#3244) 2022-07-03 05:36:50 +00:00
sync_committees.rs Rename eth2_libp2p to lighthouse_network (#2702) 2021-10-19 00:30:39 +00:00
validator_inclusion.rs Validator monitor support for sync committees (#2476) 2021-08-31 23:31:36 +00:00
version.rs Add API version headers and map_fork_name! (#2745) 2021-10-28 01:18:04 +00:00