Skip to main content

remaining_operation_indices

Function remaining_operation_indices 

Source
pub(crate) fn remaining_operation_indices<N: Network>(
    sequence: &ScriptSequenceKind<N>,
    sequence_index: usize,
) -> Vec<usize>
where N::TxEnvelope: for<'de> Deserialize<'de> + Serialize,
Expand description

Returns the operations of the sequence that are left to send or recover. From the first sequence with a recorded revert on, the script never reached operations that were not yet submitted, so only operations that were already submitted are left.