Trait tc_finality_grandpa::ClientForGrandpa[][src]

pub trait ClientForGrandpa<Block, BE>: LockImportRun<Block, BE> + Finalizer<Block, BE> + AuxStore + HeaderMetadata<Block, Error = Error> + HeaderBackend<Block> + BlockchainEvents<Block> + ProvideRuntimeApi<Block> + ExecutorProvider<Block> + BlockImport<Block, Transaction = TransactionFor<BE, Block>, Error = Error> where
    BE: Backend<Block>,
    Block: BlockT
{ }

A trait that includes all the client functionalities grandpa requires. Ideally this would be a trait alias, we’re not there yet. tracking issue https://github.com/rust-lang/rust/issues/41517

Implementors

impl<Block, BE, T> ClientForGrandpa<Block, BE> for T where
    BE: Backend<Block>,
    Block: BlockT,
    T: LockImportRun<Block, BE> + Finalizer<Block, BE> + AuxStore + HeaderMetadata<Block, Error = Error> + HeaderBackend<Block> + BlockchainEvents<Block> + ProvideRuntimeApi<Block> + ExecutorProvider<Block> + BlockImport<Block, Transaction = TransactionFor<BE, Block>, Error = Error>, 
[src]

Loading content...