Skip to main content

PublicKeys

Fields

FieldType
npk_mGrumpkinPoint
ivpk_mGrumpkinPoint
ovpk_mGrumpkinPoint
tpk_mGrumpkinPoint

Methods

hash

PublicKeys::hash(self);

Parameters

NameType
self

get_key_by_index

PublicKeys::get_key_by_index(self, index);

Parameters

NameType
self
indexField

Standalone Functions

serialize

serialize(self);

Parameters

NameType
self

deserialize

deserialize(serialized);

Parameters

NameType
serialized[Field; PUBLIC_KEYS_LENGTH]

compute_public_keys_hash

compute_public_keys_hash();

Takes no parameters.

test_public_keys_serialization

test_public_keys_serialization();

Takes no parameters.