Expand description
External-state traits.
Traces to: SPEC.md §15.2, catalogue rows DSL-131..145.
§Role
The crate does NOT own validator state — it is consumed by external runtimes (node, validator, fork-choice) that do. This module exposes the narrow trait surface the crate reads through.
Each trait is defined in the single DSL-NNN that introduces its first consumer, with the blanket / concrete impl landing later under the DSL-131..145 Phase 9 tasks.
Enums§
- Collateral
Error - Failure modes for
CollateralSlasher::slash. - Execution
Outcome - Block re-execution result used by
InvalidBlockOracle.
Traits§
- Collateral
Slasher - Collateral-slash reversal surface.
- Effective
Balance View - Per-validator effective-balance read surface.
- Invalid
Block Oracle - Full-node block re-execution hook.
- Proposer
View - Block-proposer lookup surface.
- Public
KeyLookup - Validator-index → BLS public-key lookup.
- Reward
Clawback - Reward clawback surface — reverses a previous
RewardPayout::pay. - Reward
Payout - Reward-payout routing surface.
- Validator
Entry - Per-validator state accessor.
- Validator
View - Validator-set read+write surface consumed by the verifiers and slashing manager.