Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
merge_verifier.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
24 using FF = typename Curve::ScalarField;
28
29 // Number of columns that jointly constitute the op_queue, should be the same as the number of wires in the
30 // MegaCircuitBuilder
32
33 public:
35 using TableCommitments = std::array<Commitment, NUM_WIRES>; // Commitments to the subtables and the merged table
36
47
48 std::shared_ptr<Transcript> transcript;
50
52 const std::shared_ptr<Transcript>& transcript = std::make_shared<Transcript>());
53 std::pair<bool, TableCommitments> verify_proof(const HonkProof& proof, const InputCommitments& input_commitments);
54};
55
56} // namespace bb
Common transcript class for both parties. Stores the data for the current round, as well as the manif...
static constexpr size_t NUM_WIRES
Defines the circuit block types for the Mega arithmetization.
Verifier class for the Goblin ECC op queue transcript merge protocol.
std::pair< bool, TableCommitments > verify_proof(const HonkProof &proof, const InputCommitments &input_commitments)
Verify proper construction of the aggregate Goblin ECC op queue polynomials T_j, j = 1,...
MergeSettings settings
static constexpr size_t NUM_WIRES
typename Curve::AffineElement Commitment
typename Curve::ScalarField FF
std::array< Commitment, NUM_WIRES > TableCommitments
std::shared_ptr< Transcript > transcript
typename Group::affine_element AffineElement
Definition bn254.hpp:22
bb::fr ScalarField
Definition bn254.hpp:18
Entry point for Barretenberg command-line interface.
std::vector< fr > HonkProof
Definition proof.hpp:15
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