Skip to main content

utils

Standalone Functions

compute_siloed_nullifier

compute_siloed_nullifier(note_with_header, context);

Parameters

NameType
note_with_headerNote
context&mut PrivateContext

compute_note_hash_for_read_request

compute_note_hash_for_read_request(note);

TODO(#7775): make this not impossible to understand

Parameters

NameType
noteNote

compute_note_hash_for_nullify_internal

compute_note_hash_for_nullify_internal(note, note_hash_for_read_request);

TODO(#7775): make this not impossible to understand

Parameters

NameType
noteNote
note_hash_for_read_requestField

compute_note_hash_for_nullify

compute_note_hash_for_nullify(note);

Parameters

NameType
noteNote

compute_note_hash_for_nullify

compute_note_hash_for_nullify(note);

}

Parameters

NameType
noteNote

compute_note_hash_and_optionally_a_nullifier

compute_note_hash_and_optionally_a_nullifier(deserialize_content);

Parameters

NameType
deserialize_contentfn([Field; N]