Trait phron_finality::sync::JustificationSubmissions
source · pub trait JustificationSubmissions<J: Justification>: Clone + Send + 'static {
type Error: Display;
// Required method
fn submit(
&mut self,
justification: J::Unverified
) -> Result<(), Self::Error>;
}
Expand description
An interface for submitting additional justifications to the justification sync.
Chiefly ones created by ABFT, but others will also be handled appropriately.
The block corresponding to the submitted Justification
MUST be obtained and
imported into the Substrate database by the user, as soon as possible.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.