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_nullifier

compute_nullifier(self, context, note_hash_for_nullify);

Parameters

NameType
self
context&mut PrivateContext
note_hash_for_nullifyField

compute_nullifier_without_context

compute_nullifier_without_context(self);

Parameters

NameType
self

serialize

serialize(self);

Parameters

NameType
self

eq

eq(self, other);

Parameters

NameType
self
otherSelf