scipr-lab / libsnark

C++ library for zkSNARKs
Other
1.81k stars 578 forks source link

Avoid serialization of constraint system in proving key #30

Open ebfull opened 8 years ago

ebfull commented 8 years ago

The user may want to synthesize the constraint system and pass it to the r1cs proving routines, instead of serializing the constraint system into the proving key, which leads to both higher disk usage and memory usage when it is loaded into memory.