Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::srs::factories::NativeGrumpkinCrsFactory Class Reference

#include <native_crs_factory.hpp>

Inheritance diagram for bb::srs::factories::NativeGrumpkinCrsFactory:
bb::srs::factories::CrsFactory< curve::Grumpkin >

Public Member Functions

 NativeGrumpkinCrsFactory (const std::filesystem::path &path, bool allow_download=true)
 
std::shared_ptr< Crs< curve::Grumpkin > > get_crs (size_t degree) override
 
- Public Member Functions inherited from bb::srs::factories::CrsFactory< curve::Grumpkin >
 CrsFactory ()=default
 
 CrsFactory (const CrsFactory &)=delete
 
 CrsFactory (CrsFactory &&) noexcept=default
 
CrsFactoryoperator= (const CrsFactory &)=delete
 
CrsFactoryoperator= (CrsFactory &&) noexcept=default
 
virtual ~CrsFactory ()=default
 
std::shared_ptr< bb::srs::factories::Crs< curve::Grumpkin > > get_verifier_crs ()
 

Private Attributes

std::filesystem::path path_
 
bool allow_download_ = true
 
size_t last_degree_ = 0
 
std::unique_ptr< MemGrumpkinCrsFactorymem_crs_
 

Detailed Description

Definition at line 57 of file native_crs_factory.hpp.

Constructor & Destructor Documentation

◆ NativeGrumpkinCrsFactory()

bb::srs::factories::NativeGrumpkinCrsFactory::NativeGrumpkinCrsFactory ( const std::filesystem::path &  path,
bool  allow_download = true 
)
inline

Definition at line 59 of file native_crs_factory.hpp.

Member Function Documentation

◆ get_crs()

std::shared_ptr< Crs< curve::Grumpkin > > bb::srs::factories::NativeGrumpkinCrsFactory::get_crs ( size_t  degree)
inlineoverridevirtual

Member Data Documentation

◆ allow_download_

bool bb::srs::factories::NativeGrumpkinCrsFactory::allow_download_ = true
private

Definition at line 75 of file native_crs_factory.hpp.

◆ last_degree_

size_t bb::srs::factories::NativeGrumpkinCrsFactory::last_degree_ = 0
private

Definition at line 76 of file native_crs_factory.hpp.

◆ mem_crs_

std::unique_ptr<MemGrumpkinCrsFactory> bb::srs::factories::NativeGrumpkinCrsFactory::mem_crs_
private

Definition at line 77 of file native_crs_factory.hpp.

◆ path_

std::filesystem::path bb::srs::factories::NativeGrumpkinCrsFactory::path_
private

Definition at line 74 of file native_crs_factory.hpp.


The documentation for this class was generated from the following file: