pub trait CertifiableBlock: Block {
type Context: Clone;
// Required method
fn context(&self) -> Self::Context;
}Expand description
CertifiableBlock extends Block with consensus context information.
This trait is required for blocks used with deferred verification in CertifiableAutomaton. It allows the verification context to be derived directly from the block when a validator needs to participate in certification but never verified the block locally (necessary for liveness).
Required Associated Types§
Required Methods§
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.