lighthouse/beacon_node/http_api
Age Manning 785a9171e6 Customisable shuffling cache size (#4081)
This PR enables the user to adjust the shuffling cache size.

This is useful for some HTTP API requests which require re-computing old shufflings. This PR currently optimizes the
beacon/states/{state_id}/committees HTTP API by first checking the cache before re-building shuffling.

If the shuffling is set to a non-default value, then the HTTP API request will also fill the cache when as it constructs new shufflings.

If the CLI flag is not present or the value is set to the default of 16 the default behaviour is observed.


Co-authored-by: Michael Sproul <michael@sigmaprime.io>
2023-03-21 05:14:59 +00:00
..
src Customisable shuffling cache size (#4081) 2023-03-21 05:14:59 +00:00
tests Support for Ipv6 (#4046) 2023-03-14 01:13:34 +00:00
Cargo.toml Merge branch 'capella' into unstable 2023-02-22 10:25:45 +11:00