Skip to content
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

Share preprocessed key over all proofs in batch #38

Open
dtebbs opened this issue Aug 6, 2020 · 0 comments
Open

Share preprocessed key over all proofs in batch #38

dtebbs opened this issue Aug 6, 2020 · 0 comments
Labels
arithmetic-circuit/R1CS Task related to the R1CS programs c++ Task related to the c++ part of the code base optimization Optimization task

Comments

@dtebbs
Copy link
Contributor

dtebbs commented Aug 6, 2020

(Reminder for later optimization)

The aggregator holds verifiers which each preprocesses the public key (supporting the use-case where each proof in a batch uses a different vk), but its interface assumes a shared key (i.e. a batch where all proofs belong to the same "application").

  • Extend the verifier_parameters structs to expose preprocess_verification_key_gadget, verification_key_precomputation_variable and online_verifier_gadget
  • Use these in the aggregator_gadget to ensure the vk is processed only once
@AntoineRondelet AntoineRondelet added arithmetic-circuit/R1CS Task related to the R1CS programs c++ Task related to the c++ part of the code base optimization Optimization task labels Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arithmetic-circuit/R1CS Task related to the R1CS programs c++ Task related to the c++ part of the code base optimization Optimization task
Projects
None yet
Development

No branches or pull requests

2 participants