Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
types.hpp
Go to the documentation of this file.
1// === AUDIT STATUS ===
2// internal: { status: Planned, auditors: [], commit: }
3// external_1: { status: not started, auditors: [], commit: }
4// external_2: { status: not started, auditors: [], commit: }
5// =====================
6
7#pragma once
8
13
14namespace bb {
19
21 HonkProof merge_proof; // Merge proof on the shared Goblin transcript
22 HonkProof eccvm_proof; // ECCVM proof on the shared Goblin transcript
23 HonkProof ipa_proof; // TripleIPA proof on a separate transcript
24 HonkProof translator_proof; // Translator proof on the shared Goblin transcript
25
26 size_t size() const
27 {
28 return merge_proof.size() + eccvm_proof.size() + ipa_proof.size() + translator_proof.size();
29 };
30
32 bool operator==(const GoblinProof& other) const = default;
33};
34
41
42 size_t size() const
43 {
44 return merge_proof.size() + eccvm_proof.size() + ipa_proof.size() + translator_proof.size();
45 };
46 GoblinStdlibProof() = default;
48 : merge_proof(builder, goblin_proof.merge_proof)
49 , eccvm_proof(builder, goblin_proof.eccvm_proof)
50 , ipa_proof(builder, goblin_proof.ipa_proof)
52 {}
53 bool operator==(const GoblinStdlibProof& other) const = default;
54};
55} // namespace bb
AluTraceBuilder builder
Definition alu.test.cpp:124
Entry point for Barretenberg command-line interface.
Definition api.hpp:5
std::vector< fr > HonkProof
Definition proof.hpp:15
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
std::shared_ptr< MegaFlavor::VerificationKey > verification_key
Definition types.hpp:17
HonkProof eccvm_proof
Definition types.hpp:22
HonkProof ipa_proof
Definition types.hpp:23
HonkProof merge_proof
Definition types.hpp:21
SERIALIZATION_FIELDS(merge_proof, eccvm_proof, ipa_proof, translator_proof)
size_t size() const
Definition types.hpp:26
HonkProof translator_proof
Definition types.hpp:24
bool operator==(const GoblinProof &other) const =default
GoblinStdlibProof(UltraCircuitBuilder &builder, const GoblinProof &goblin_proof)
Definition types.hpp:47
bool operator==(const GoblinStdlibProof &other) const =default
size_t size() const
Definition types.hpp:42
GoblinStdlibProof()=default