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

Gets the uncles of the block with target_hash going back max_generation ancestors.

Implementors