barretenberg
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
transcript::Manifest::RoundManifest Struct Reference

#include <manifest.hpp>

Public Member Functions

 RoundManifest (std::vector< ManifestEntry > element_names, const std::string challenge_name, const size_t num_challenges_in, bool map_challenges_in=false)
 
bool includes_element (const std::string &element_name)
 

Public Attributes

std::vector< ManifestEntryelements
 
std::string challenge
 
size_t num_challenges
 
bool map_challenges
 

Detailed Description

The RoundManifest describes the data used in one round of the protocol and the challenge(s) created from that data.

Constructor & Destructor Documentation

◆ RoundManifest()

transcript::Manifest::RoundManifest::RoundManifest ( std::vector< ManifestEntry element_names,
const std::string  challenge_name,
const size_t  num_challenges_in,
bool  map_challenges_in = false 
)
inline
Parameters
element_namesData used in the round.
challenge_nameThe name of the challenge (alpha, beta, etc..)
num_challenges_inThe number of challenges to generate (sometimes we need more than one, e.g in permutation_widget)
map_challenges_inWhether to put elements in a challenge_map in the transcript.

Member Function Documentation

◆ includes_element()

bool transcript::Manifest::RoundManifest::includes_element ( const std::string &  element_name)
inline

Checks if there is an element in the list with such name.

Parameters
element_nameThe name to search for.
Returns
true if found, false if not.

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