Weierstrass BN254 zero-knowledge trusted setup ceremony.
Go to file
Georgios Konstantopoulos 614b4b899d
Make ceremony params configurable at runtime (#10)
* feat(parameters): Replace trait with a params struct

We define a CeremonyParams struct which contains a curve and setup-specific parameters
The curve is a CurveParams struct which contains the sizes of the compressed and uncompressed group elements
This will allow us to easily extend the implementations over multiple curves and constraint numbers (currently these are hard coded and cannot be easily chagned)

* feat(keypair): Use the CeremonyParams struct instead of being generic over the PowersOfTauParams trait

* feat(accumulator): Use the CeremonyParams struct instead of being generic over the PowersOfTauParams trait

* feat(batched-accumulator): Use the CeremonyParams struct instead of being generic over the PowersOfTauParams trait

driveby-change: also replace println's with error/info logs

* feat(batched-accumulator): Use the CeremonyParams struct instead of being generic over the PowersOfTauParams trait

driveby-change: also replace println's with error/info logs

* refactor(bn256): delete bn256 module and move tests to better locations

* fix(bin): make all binaries build with the CeremonyParams object

* test(e2e): run the test with circuit power and batch size provided at runtime

* chore: remove unused accumulator.rs and new.rs
2020-02-13 11:04:29 +02:00
bellman chore: cargo fmt + make clippy happy (#9) 2020-02-12 14:46:33 +02:00
pairing chore: cargo fmt + make clippy happy (#9) 2020-02-12 14:46:33 +02:00
phase2 move vk_x before the loop 2020-02-07 22:55:41 +08:00
powersoftau Make ceremony params configurable at runtime (#10) 2020-02-13 11:04:29 +02:00
.dockerignore Dockerfile 2020-01-19 00:39:27 +07:00
Dockerfile Dockerfile 2020-01-19 00:39:27 +07:00
README.md Dockerfile 2020-01-19 00:39:27 +07:00

Trusted setup ceremony Docker Cloud Build Status