pub trait ProposerView {
// Required methods
fn proposer_at_slot(&self, slot: u64) -> Option<u32>;
fn current_slot(&self) -> u64;
}Expand description
Block-proposer lookup surface.
Traces to SPEC §15.3, catalogue row DSL-144.
§Consumer
SlashingManager::submit_evidence (DSL-025) queries
proposer_at_slot(current_slot()) to identify the proposer whose
block includes the evidence, then routes the proposer-inclusion
reward to that validator’s puzzle hash.
Required Methods§
Sourcefn proposer_at_slot(&self, slot: u64) -> Option<u32>
fn proposer_at_slot(&self, slot: u64) -> Option<u32>
Validator index of the proposer at slot. None when the
slot is outside the known range.
Sourcefn current_slot(&self) -> u64
fn current_slot(&self) -> u64
Current chain-tip slot — drives the “who proposed the block that includes this evidence” lookup.