Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
get_bn254_crs.hpp
Go to the documentation of this file.
1#pragma once
4#include <filesystem>
5#include <fstream>
6#include <ios>
7
8namespace bb {
9std::vector<g1::affine_element> get_bn254_g1_data(const std::filesystem::path& path,
10 size_t num_points,
11 bool allow_download = true);
12g2::affine_element get_bn254_g2_data(const std::filesystem::path& path, bool allow_download = true);
13} // namespace bb
group_elements::affine_element< Fq, Fr, Params > affine_element
Definition group.hpp:42
Entry point for Barretenberg command-line interface.
g2::affine_element get_bn254_g2_data(const std::filesystem::path &path, bool allow_download)
std::vector< g1::affine_element > get_bn254_g1_data(const std::filesystem::path &path, size_t num_points, bool allow_download)
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13