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
35
42
43 size_t size() const
44 {
45 return merge_proof.size() + eccvm_proof.size() + ipa_proof.size() + translator_proof.size();
46 };
47 GoblinStdlibProof() = default;
49 : merge_proof(builder, goblin_proof.merge_proof)
50 , eccvm_proof(builder, goblin_proof.eccvm_proof)
51 , ipa_proof(builder, goblin_proof.ipa_proof)
53 {}
54 bool operator==(const GoblinStdlibProof& other) const = default;
55};
56} // 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
MSGPACK_FIELDS(merge_proof, eccvm_proof, ipa_proof, translator_proof)
HonkProof eccvm_proof
Definition types.hpp:23
HonkProof ipa_proof
Definition types.hpp:24
HonkProof merge_proof
Definition types.hpp:22
size_t size() const
Definition types.hpp:27
HonkProof translator_proof
Definition types.hpp:25
bool operator==(const GoblinProof &other) const =default
GoblinStdlibProof(UltraCircuitBuilder &builder, const GoblinProof &goblin_proof)
Definition types.hpp:48
bool operator==(const GoblinStdlibProof &other) const =default
size_t size() const
Definition types.hpp:43
GoblinStdlibProof()=default