Skip to main content

ValueNote

Fields

FieldType
valueField
npk_m_hashField
randomnessField

Methods

new

ValueNote::new(value, npk_m_hash);

Parameters

NameType
valueField
npk_m_hashField

Standalone Functions

compute_note_hash_and_nullifier

compute_note_hash_and_nullifier(self, context);

Parameters

NameType
self
context&mut PrivateContext

compute_note_hash_and_nullifier_without_context

compute_note_hash_and_nullifier_without_context(self);

Parameters

NameType
self

serialize

serialize(self);

Parameters

NameType
self