Trait bp_header_chain::FindEquivocations
source · pub trait FindEquivocations<FinalityProof, FinalityVerificationContext, EquivocationProof> {
type Error: Debug;
// Required method
fn find_equivocations(
verification_context: &FinalityVerificationContext,
synced_proof: &FinalityProof,
source_proofs: &[FinalityProof],
) -> Result<Vec<EquivocationProof>, Self::Error>;
}
Expand description
Helper trait for finding equivocations in finality proofs.
Required Associated Types§
Required Methods§
sourcefn find_equivocations(
verification_context: &FinalityVerificationContext,
synced_proof: &FinalityProof,
source_proofs: &[FinalityProof],
) -> Result<Vec<EquivocationProof>, Self::Error>
fn find_equivocations( verification_context: &FinalityVerificationContext, synced_proof: &FinalityProof, source_proofs: &[FinalityProof], ) -> Result<Vec<EquivocationProof>, Self::Error>
Find equivocations.
Object Safety§
This trait is not object safe.