Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
batch_merge_prover.hpp
Go to the documentation of this file.
1// === AUDIT STATUS ===
2// internal: { status: not started, auditors: [], commit: }
3// external_1: { status: not started, auditors: [], commit: }
4// external_2: { status: not started, auditors: [], commit: }
5// =====================
6
7#pragma once
8
16
17namespace bb {
18
26 protected:
32 using PCS = KZG<Curve>;
36
37 public:
38 using MergeProof = std::vector<FF>;
39
41
48
58
59 // Exposed for test access
61
62 // Public for testing purposes
63 std::shared_ptr<Transcript> transcript;
64
65 protected:
67 size_t max_subtables; // M
68
70 const std::vector<FF>& degree_check_challenges,
71 const size_t max_size);
72};
73
74} // namespace bb
Common transcript class for both parties. Stores the data for the current round, as well as the manif...
Batch merge prover.
static constexpr size_t NUM_WIRES
std::shared_ptr< Transcript > transcript
std::shared_ptr< ECCOpQueue > op_queue
std::vector< FF > MergeProof
Curve::AffineElement Commitment
MergeProof construct_proof()
Construct the batch merge proof.
static Polynomial compute_degree_check_polynomial(const std::vector< Polynomial > &flattened_columns, const std::vector< FF > &degree_check_challenges, const size_t max_size)
CommitmentKey object over a pairing group 𝔾₁.
Polynomial p and an opening pair (r,v) such that p(r) = v.
Definition claim.hpp:36
Shplonk Prover.
Definition shplonk.hpp:37
typename Group::affine_element AffineElement
Definition bn254.hpp:22
bb::fr ScalarField
Definition bn254.hpp:18
Entry point for Barretenberg command-line interface.
Definition api.hpp:5
BaseTranscript< FrCodec, bb::crypto::Poseidon2< bb::crypto::Poseidon2Bn254ScalarFieldParams > > NativeTranscript
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13