|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Batch verifier for multiple Chonk IVC proofs. More...
#include <chonk_batch_verifier.hpp>
Classes | |
| struct | Input |
Static Public Member Functions | |
| static bool | verify (std::span< const Input > inputs) |
| Verify multiple Chonk proofs with batched IPA verification. | |
Batch verifier for multiple Chonk IVC proofs.
Runs all non-IPA verification (MegaZK, databus, Goblin) for each proof independently, then batches the resulting IPA opening claims into a single IPA verification via random linear combination. This replaces N separate large SRS MSMs with one, giving ~Nx speedup on the IPA bottleneck.
Definition at line 14 of file chonk_batch_verifier.hpp.
|
static |
Verify multiple Chonk proofs with batched IPA verification.
For each proof, performs all non-IPA verification (MegaZK, databus, Goblin). If all pass, collects IPA claims and batch-verifies them with a single SRS MSM. Returns true only if ALL proofs verify. On failure, does not identify which proof failed.
| inputs | Span of (proof, vk_and_hash) pairs to verify |
Definition at line 8 of file chonk_batch_verifier.cpp.