Modules§
Structs§
- Lazy
Proving Key - A wrapper around a proving key that can be lazily loaded.
Constants§
- GROT
H16_ PROOF_ LENGTH_ BYTES - The length of our Groth16 proofs in bytes.
Statics§
- CONVERT_
PROOF_ PROVING_ KEY - Proving key for the convert proof.
- CONVERT_
PROOF_ VERIFICATION_ KEY - Verification key for the convert proof.
- DELEGATOR_
VOTE_ PROOF_ PROVING_ KEY - Proving key for the delegator vote proof.
- DELEGATOR_
VOTE_ PROOF_ VERIFICATION_ KEY - Verification key for the delegator vote proof.
- NULLIFIER_
DERIVATION_ PROOF_ PROVING_ KEY - Proving key for the nullifier derivation proof.
- NULLIFIER_
DERIVATION_ PROOF_ VERIFICATION_ KEY - Verification key for the delegator vote proof.
- OUTPUT_
PROOF_ PROVING_ KEY - Proving key for the output proof.
- OUTPUT_
PROOF_ VERIFICATION_ KEY - Verification key for the output proof.
- SPEND_
PROOF_ PROVING_ KEY - Proving key for the spend proof.
- SPEND_
PROOF_ VERIFICATION_ KEY - Verification key for the spend proof.
- SWAPCLAIM_
PROOF_ PROVING_ KEY - Proving key for the swap claim proof.
- SWAPCLAIM_
PROOF_ VERIFICATION_ KEY - Verification key for the swap claim proof.
- SWAP_
PROOF_ PROVING_ KEY - Proving key for the swap proof.
- SWAP_
PROOF_ VERIFICATION_ KEY - Verification key for the swap proof.
Traits§
- Dummy
Witness - This trait characterizes circuits which can generate constraints.
- Proving
KeyExt - Verifying
KeyExt
Functions§
- generate_
constraint_ matrices - Generate constraint matrices from a circuit type.
- generate_
prepared_ test_ parameters - A variant of
generate_test_parameters
which spits out a verifying key with some precomputation. - generate_
test_ parameters - Generate parameters for proving and verifying, for tests.