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, Error = Error> + StorageProvider<Block, BE>where
    BE: Backend<Block>,
    Block: BlockT,{ }
Expand description

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§

source§

impl<Block, BE, T> ClientForGrandpa<Block, BE> for Twhere 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, Error = Error> + StorageProvider<Block, BE>,