Add documentation to public structs/functions in sc_tendermint

This commit is contained in:
Luke Parker
2022-10-30 12:27:16 -04:00
parent c4976ff97d
commit 8f065533dc
5 changed files with 12 additions and 0 deletions

View File

@@ -102,6 +102,8 @@ pub trait TendermintValidator: TendermintClient {
pub type TendermintImportQueue<Block, Transaction> = BasicQueue<Block, Transaction>;
/// Create an import queue, additionally returning the Tendermint Import object iself, enabling
/// creating an author later as well.
pub fn import_queue<T: TendermintValidator>(
spawner: &impl sp_core::traits::SpawnEssentialNamed,
client: Arc<T::Client>,