Trait phron_finality::sync::RequestBlocks
source · pub trait RequestBlocks: Clone + Send + Sync + 'static {
type Error: Display;
// Required method
fn request_block(&self, block_id: BlockId) -> Result<(), Self::Error>;
}
Expand description
An interface for requesting specific blocks from the block sync. Required by the data availability mechanism in ABFT.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.