mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 23:48:06 -05:00
* `TrackedValidatorsCache`: Implement a 1-hour TTL by uding `go-cache`. * `TrackedValidatorsCache`: Add the `ItemCount` method. * `TrackedValidatorsCache`: Add the `Indices` method. * Add changelog. * `TrackedValidatorsCache`: Add prometheus metrics. * Update beacon-chain/cache/tracked_validators.go Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com> --------- Co-authored-by: Preston Van Loon <pvanloon@offchainlabs.com>
225 B
225 B
Added
- Tracked validators cache: Added the
ItemCountmethod. - Tracked validators cache: Added the
Indicesmethod.
Changed
- Tracked validators cache: Remove validators from the cache if not seen after 1 hour.