Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
merge_prover.hpp
Go to the documentation of this file.
1// === AUDIT STATUS ===
2// internal: { status: not started, auditors: [], date: YYYY-MM-DD }
3// external_1: { status: not started, auditors: [], date: YYYY-MM-DD }
4// external_2: { status: not started, auditors: [], date: YYYY-MM-DD }
5// =====================
6
7#pragma once
8
15
16namespace bb {
17
28 using PCS = KZG<Curve>;
32
33 public:
34 using MergeProof = std::vector<FF>;
35
38 const CommitmentKey& commitment_key = CommitmentKey(),
39 const std::shared_ptr<Transcript>& transcript = std::make_shared<Transcript>());
40
42
45 std::shared_ptr<Transcript> transcript;
47
48 // Number of columns that jointly constitute the op_queue, should be the same as the number of wires in the
49 // MegaCircuitBuilder
51};
52
53} // namespace bb
Common transcript class for both parties. Stores the data for the current round, as well as the manif...
CommitmentKey object over a pairing group 𝔾₁.
static constexpr size_t NUM_WIRES
Defines the circuit block types for the Mega arithmetization.
Prover class for the Goblin ECC op queue transcript merge protocol.
static constexpr size_t NUM_WIRES
Curve::AffineElement Commitment
std::shared_ptr< ECCOpQueue > op_queue
BB_PROFILE MergeProof construct_proof()
std::vector< FF > MergeProof
MergeSettings settings
std::shared_ptr< Transcript > transcript
CommitmentKey pcs_commitment_key
bb::CommitmentKey< Curve > CommitmentKey
Opening pair (r,v) for some witness polynomial p(X) such that p(r) = v.
Definition claim.hpp:19
Polynomial p and an opening pair (r,v) such that p(r) = v.
Definition claim.hpp:34
typename Group::affine_element AffineElement
Definition bn254.hpp:22
bb::fr ScalarField
Definition bn254.hpp:18
#define BB_PROFILE
Entry point for Barretenberg command-line interface.
MergeSettings
The MergeSettings define whether an current subtable will be added at the beginning (PREPEND) or at t...
BaseTranscript< NativeTranscriptParams > NativeTranscript
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13