Structsยง
Enumsยง
Constantsยง
- RLN2_
REGISTER_ ZKBIN - RLN2_
SIGNAL_ ZKBIN - RLN2_
SLASH_ ZKBIN - RLN_
EPOCH_ LEN - RLN epoch length in millis
- RLN_
GENESIS - RLN epoch genesis in millis
Functionsยง
- build_
register_ ๐vk - Helper function to read or build register verifying key
- build_
signal_ ๐vk - Helper function to build signal verifying key
- build_
slash_ ๐pk - Helper function to build slash proving key
- build_
slash_ ๐vk - Helper function to build slash verifying key
- closest_
epoch - Find closest epoch to given timestamp
- create_
slash_ proof - hash_
event - Hash message/event modulo
Fp - process_
commitment - read_
register_ ๐vk - Helper function to read register verifying key
- read_
signal_ ๐vk - Helper function to read signal verifying key
- read_
slash_ ๐pk - Helper function to read slash proving key
- read_
slash_ ๐vk - Helper function to read slash proving key
- sss_
recover - Recover secret using Shamirโs secret sharing scheme