feat(core): implement core/scheduler#466
Conversation
- Add `Scheduler` struct (WIP) - Add `new_slot_ticker`
- Fix duplicated code
- `valcache` is required by scheduler - Fixes cyclical dependency issue
- Use `valcache` to get the list of active validators.
- TODO's regarding concurrent access while resolving duties
- Try to reuse existing infrastructure
- Preserve only Actor API
- Remove generics from `DutyDefinitionSet`
|
@claude Re-review this PR. Check for your previous review and recent comments. |
|
Claude finished @emlautarom1's task in 2m 15s —— View job Re-review:
|
- Has `ValidatorCache` as a field
- Make `BeaconNodeClient` always have a valid `ValidatorCache` on construction
Closes #176
Uses an Actor model to implement the
core/schedulermodule, solving some concurrency hacks that the original implementation had.Metrics have been ported using the existing Vise patterns but are untested.