Commit Graph

8 Commits

Author SHA1 Message Date
Alexey
b09a1b2c6c
update dependencies for powersoftau WIP 2020-04-28 11:02:41 +03:00
Alexey
6c19e9f294 fix hex 2020-04-13 19:25:55 +03:00
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
Georgios Konstantopoulos
32bbd5f35c
chore: cargo fmt + make clippy happy (#9) 2020-02-12 14:46:33 +02:00
Kobi Gurkan
1ef0e48957 adds small test parameters, generalizes repr_to_big 2020-01-23 16:42:21 +02:00
poma
e8b14ddb00
Accept filenames as command line arguments 2020-01-08 19:46:34 +07:00
Kobi Gurkan
470dff3d92 adds verify.rs to verify transcript and working phase2 for bn254 2019-09-04 13:15:17 +03:00
Kobi Gurkan
5d6690f9b8 Add 'powersoftau/' from commit '34b4d09b4ccc459d757a77c94b391a1f64f66f76'
git-subtree-dir: powersoftau
git-subtree-mainline: 37bdc022d6ae906eb583746fea8784edc6bd7c6b
git-subtree-split: 34b4d09b4ccc459d757a77c94b391a1f64f66f76
2019-09-02 15:50:38 +03:00