Expand description
Bandersnatch VRF FFI for Julia
Provides C-compatible functions for:
- Computing ticket IDs from VRF output points
- Verifying ring VRF signatures
Structs§
- Ring
Verifier Handle - Opaque handle for ring verifier
Constants§
- BANDERSNATCH_
ERR_ INVALID_ INPUT - BANDERSNATCH_
ERR_ INVALID_ OUTPUT - BANDERSNATCH_
ERR_ INVALID_ POINT - BANDERSNATCH_
ERR_ INVALID_ PROOF - BANDERSNATCH_
ERR_ NULL_ PTR - BANDERSNATCH_
ERR_ VERIFY_ FAILED - BANDERSNATCH_
FFI_ VERSION_ MAJOR - BANDERSNATCH_
FFI_ VERSION_ MINOR - BANDERSNATCH_
FFI_ VERSION_ PATCH - BANDERSNATCH_
OK
Functions§
- bandersnatch_
compute_ ring_ commitment - Compute ring commitment from public keys
- bandersnatch_
compute_ ticket_ id - Compute ticket ID from VRF output point (first 32 bytes of signature)
- bandersnatch_
ring_ verifier_ free - Free a ring verifier handle
- bandersnatch_
ring_ verifier_ new - Create a ring verifier from commitment
- bandersnatch_
ring_ verify - Verify a ring VRF signature
- bandersnatch_
version - Get FFI version (major << 16 | minor << 8 | patch)