[−][src]Trait sc_client::ProvideUncles
Provide a list of potential uncle headers for a given block.
Required methods
fn uncles(
&self,
target_hash: <Block as Block>::Hash,
max_generation: <<Block as Block>::Header as Header>::Number
) -> Result<Vec<<Block as Block>::Header>, Error>
&self,
target_hash: <Block as Block>::Hash,
max_generation: <<Block as Block>::Header as Header>::Number
) -> Result<Vec<<Block as Block>::Header>, Error>
Gets the uncles of the block with target_hash
going back max_generation
ancestors.
Implementors
impl<B, E, Block, RA> ProvideUncles<Block> for Client<B, E, Block, RA> where
B: Backend<Block>,
E: CallExecutor<Block>,
Block: BlockT,
[src]
B: Backend<Block>,
E: CallExecutor<Block>,
Block: BlockT,