Skip to main content

decide_event_from_chain

Function decide_event_from_chain 

Source
fn decide_event_from_chain(
    chain: Vec<DecidedLeaf>,
    cert2: Option<Certificate2<SeqTypes>>,
) -> Option<CoordinatorEvent<SeqTypes>>
Expand description

The decide for chain, newest leaf first; cert2, if any, finalizes the newest leaf only.