PublicKeys
Fields
Field | Type |
---|---|
npk_m | GrumpkinPoint |
ivpk_m | GrumpkinPoint |
ovpk_m | GrumpkinPoint |
tpk_m | GrumpkinPoint |
Methods
hash
PublicKeys::hash(self);
Parameters
Name | Type |
---|---|
self |
get_key_by_index
PublicKeys::get_key_by_index(self, index);
Parameters
Name | Type |
---|---|
self | |
index | Field |
Standalone Functions
serialize
serialize(self);
Parameters
Name | Type |
---|---|
self |
deserialize
deserialize(serialized);
Parameters
Name | Type |
---|---|
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.