pub trait ToInputNoteCommitments {
// Required methods
fn nullifier(&self) -> Nullifier;
fn note_commitment(&self) -> Option<Word>;
}Expand description
Specifies the data used by the transaction kernel to commit to a note.
The commitment is composed of:
- nullifier, which prevents double spend and provides unlinkability.
- an optional note commitment, which allows for delayed note authentication.