Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
constants.hpp
Go to the documentation of this file.
1#pragma once
2
4#include <cstdint>
5
6namespace bb {
7
13// Number of instances to be folded
14static constexpr std::size_t NUM_INSTANCES = 2;
15
16// Number of coefficients whose calculation is to be skipped in the calculation of the combiner
17static constexpr std::size_t SKIP_COUNT = NUM_INSTANCES - 1;
18
59template <typename Flavor>
60 requires(IsMegaFlavor<Flavor> || IsUltraOrMegaHonk<Flavor>)
61static constexpr size_t computed_extended_length()
62{
64}
71template <typename Flavor>
72 requires(IsMegaFlavor<Flavor> || IsUltraOrMegaHonk<Flavor>)
73static constexpr size_t computed_batched_extended_length()
74{
76}
77
78} // namespace bb
static constexpr size_t MAX_TOTAL_RELATION_LENGTH
Entry point for Barretenberg command-line interface.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13