solana_sdk::instruction

Function get_processed_sibling_instruction

Source
pub fn get_processed_sibling_instruction(index: usize) -> Option<Instruction>
Expand description

Returns a sibling instruction from the processed sibling instruction list.

The processed sibling instruction list is a reverse-ordered list of successfully processed sibling instructions. For example, given the call flow:

A B -> C -> D B -> E B -> F

Then B’s processed sibling instruction list is: [A] Then F’s processed sibling instruction list is: [E, C]