Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <native_crs_factory.hpp>
Public Member Functions | |
NativeBn254CrsFactory (const std::filesystem::path &path, bool allow_download=true) | |
std::shared_ptr< Crs< curve::BN254 > > | get_crs (size_t degree) override |
![]() | |
CrsFactory ()=default | |
CrsFactory (const CrsFactory &)=delete | |
CrsFactory (CrsFactory &&) noexcept=default | |
CrsFactory & | operator= (const CrsFactory &)=delete |
CrsFactory & | operator= (CrsFactory &&) noexcept=default |
virtual | ~CrsFactory ()=default |
std::shared_ptr< bb::srs::factories::Crs< curve::BN254 > > | get_verifier_crs () |
Private Attributes | |
std::filesystem::path | path_ |
bool | allow_download_ = true |
size_t | last_degree_ = 0 |
std::shared_ptr< MemBn254CrsFactory > | mem_crs_ |
Derives reference strings from a file, that is secondarily backed by the network.
Definition at line 35 of file native_crs_factory.hpp.
|
inline |
Definition at line 37 of file native_crs_factory.hpp.
|
inlineoverridevirtual |
Implements bb::srs::factories::CrsFactory< curve::BN254 >.
Definition at line 41 of file native_crs_factory.hpp.
|
private |
Definition at line 52 of file native_crs_factory.hpp.
|
private |
Definition at line 53 of file native_crs_factory.hpp.
|
private |
Definition at line 54 of file native_crs_factory.hpp.
|
private |
Definition at line 51 of file native_crs_factory.hpp.