Trait sc_network::config::FinalityProofProvider[][src]

pub trait FinalityProofProvider<Block: BlockT>: Send + Sync {
    fn prove_finality(
        &self,
        for_block: Block::Hash,
        request: &[u8]
    ) -> Result<Option<Vec<u8>>, Error>; }

Finality proof provider.

Required methods

fn prove_finality(
    &self,
    for_block: Block::Hash,
    request: &[u8]
) -> Result<Option<Vec<u8>>, Error>
[src]

Prove finality of the block.

Loading content...

Implementations on Foreign Types

impl<Block: BlockT> FinalityProofProvider<Block> for ()[src]

Loading content...

Implementors

Loading content...