Skip to main content

notes_from_output

Function notes_from_output 

Source
pub fn notes_from_output(
    output_notes: &OutputNoteCollection<RawOutputNote>,
) -> impl Iterator<Item = &Note>
Expand description

Extracts notes from RawOutputNotes. Used for:

  • Checking the relevance of notes to save them as input notes.
  • Validate hashes versus expected output notes after a transaction is executed.