pub trait ToInputNoteCommitments {
// Required methods
fn nullifier(&self) -> Nullifier;
fn note_id(&self) -> Option<NoteId>;
}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 ID, which allows for delayed note authentication.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".