Add missing docs (#1095)

* added missing docs

* added .cargo to gitignore
This commit is contained in:
Svyatoslav Nikolsky
2021-08-30 11:48:13 +03:00
committed by Bastian Köcher
parent 8cb2633437
commit bd74b0ab24
3 changed files with 9 additions and 0 deletions
@@ -35,6 +35,7 @@ pub(crate) const RECENT_FINALITY_PROOFS_LIMIT: usize = 4096;
/// Headers sync pipeline for Substrate <-> Substrate relays.
pub trait SubstrateFinalitySyncPipeline: 'static + Clone + Debug + Send + Sync {
/// Pipeline for syncing finalized Source chain headers to Target chain.
type FinalitySyncPipeline: FinalitySyncPipeline;
/// Name of the runtime method that returns id of best finalized source header at target chain.