pub trait VerifySchedulingSignature {
const V3_SCHEDULING_ENABLED: bool;
// Required method
fn verify(signed_info: &SignedSchedulingInfo, relay_slot: Slot) -> bool;
}Expand description
Verifier for V3 scheduling: reports whether V3 is enabled and verifies a candidate’s
SignedSchedulingInfo.
Required Associated Constants§
Sourceconst V3_SCHEDULING_ENABLED: bool
const V3_SCHEDULING_ENABLED: bool
Whether V3 scheduling validation is enabled.
Required Methods§
Sourcefn verify(signed_info: &SignedSchedulingInfo, relay_slot: Slot) -> bool
fn verify(signed_info: &SignedSchedulingInfo, relay_slot: Slot) -> bool
Verify signed_info against the author eligible at relay_slot (the internal scheduling
parent’s slot).
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl VerifySchedulingSignature for ()
Default no-op wiring: V3 disabled, scheduling info accepted unconditionally. A real verifier
should also turn V3 on.
impl VerifySchedulingSignature for ()
Default no-op wiring: V3 disabled, scheduling info accepted unconditionally. A real verifier should also turn V3 on.