Function compute_state_update

Source
pub(crate) async fn compute_state_update(
    state: &ValidatedState,
    instance: &NodeState,
    peers: &impl StateCatchup,
    parent_leaf: &Leaf2,
    proposed_leaf: &Leaf2,
) -> Result<(ValidatedState, Delta)>