New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
performance(PLONK): prove_by_steps vs prove #34
Comments
The "prove" function requires an additional form of CRS for Kate commitment to be able to commit polynomials in a Lagrange form. This allows to eliminate an FFT that is beneficial on large circuits, but would require user to download two copies of CRS to make an exit proof (for which a circuit is kind of small). In any case both functions output the same proof on the same input parameters. |
I see. Though we can get the Lagrange form by using
but the So if calculating the Lagrange form by ourselves, the performance won't be different. |
Thx! |
Just for completeness, such transformation is costly (NlogN point multiplications, not just multiexponentiation) |
I see. Thanks! @shamatar |
I wonder why in exit we use
prove_by_steps
(bellman/src/plonk/mod.rs
Line 132 in f551a55
prove
(bellman/src/plonk/mod.rs
Line 324 in f551a55
Is it because
prove_by_steps
has a better performance?The text was updated successfully, but these errors were encountered: