aztec-nr - noir_aztec::note::note_metadata

Struct PendingSamePhaseNoteMetadata

pub struct PendingSamePhaseNoteMetadata {}

The metadata required to both prove a note's existence and destroy it, by computing the correct note hash for kernel read requests, as well as the correct nullifier to avoid double-spends.

This represents a pending same phase note, i.e. a note that was created in the transaction that is currently being executed during the current execution phase (either non-revertible or revertible).

Implementations

impl PendingSamePhaseNoteMetadata

pub fn new() -> Self