pub fn verify_and_optimize_justification<Header: HeaderT>(
    finalized_target: (Header::Hash, Header::Number),
    authorities_set_id: SetId,
    authorities_set: &VoterSet<AuthorityId>,
    justification: &mut GrandpaJustification<Header>
) -> Result<(), Error>
Expand description

Verify and optimize given justification by removing unknown and duplicate votes.