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>>; }

Provide a list of potential uncle headers for a given block.

Required methods

fn uncles(
    &self,
    target_hash: Block::Hash,
    max_generation: NumberFor<Block>
) -> Result<Vec<Block::Header>>
[src]

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

Loading content...

Implementors

Loading content...