pub trait ProvideUncles<Block: BlockT> {
// Required method
fn uncles(
&self,
target_hash: Block::Hash,
max_generation: NumberFor<Block>,
) -> Result<Vec<Block::Header>>;
}Expand description
Provide a list of potential uncle headers for a given block.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".