Trait sc_client_api::client::ProvideUncles [−][src]
pub trait ProvideUncles<Block: BlockT> { 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
Implementors
impl<B, E, Block, RA> ProvideUncles<Block> for Client<B, E, Block, RA> where
B: Backend<Block>,
E: CallExecutor<Block>,
Block: BlockT,
impl<B, E, Block, RA> ProvideUncles<Block> for Client<B, E, Block, RA> where
B: Backend<Block>,
E: CallExecutor<Block>,
Block: BlockT,