Zeth - Zerocash on Ethereum  0.8
Reference implementation of the Zeth protocol by Clearmatics
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
libzeth::srs_mpc_phase2_challenge< ppT > Class Template Reference

#include <phase2.hpp>

Public Member Functions

 srs_mpc_phase2_challenge (const mpc_hash_t transcript_digest, srs_mpc_phase2_accumulator< ppT > &&accumulator)
 
bool operator== (const srs_mpc_phase2_challenge< ppT > &other) const
 
bool is_well_formed () const
 
void write (std::ostream &out) const
 

Static Public Member Functions

static srs_mpc_phase2_challenge< ppT > read (std::istream &in)
 

Public Attributes

mpc_hash_t transcript_digest
 
srs_mpc_phase2_accumulator< ppT > accumulator
 

Detailed Description

template<typename ppT>
class libzeth::srs_mpc_phase2_challenge< ppT >

Challenge given to a participant in Phase2 of the SRS generation MPC. Implements the interfaces of StructuredT and ReadableT templates.

Definition at line 110 of file phase2.hpp.

Constructor & Destructor Documentation

◆ srs_mpc_phase2_challenge()

template<typename ppT >
libzeth::srs_mpc_phase2_challenge< ppT >::srs_mpc_phase2_challenge ( const mpc_hash_t  transcript_digest,
srs_mpc_phase2_accumulator< ppT > &&  accumulator 
)

Member Function Documentation

◆ is_well_formed()

template<typename ppT >
bool libzeth::srs_mpc_phase2_challenge< ppT >::is_well_formed ( ) const

◆ operator==()

template<typename ppT >
bool libzeth::srs_mpc_phase2_challenge< ppT >::operator== ( const srs_mpc_phase2_challenge< ppT > &  other) const

◆ read()

template<typename ppT >
static srs_mpc_phase2_challenge<ppT> libzeth::srs_mpc_phase2_challenge< ppT >::read ( std::istream &  in)
static

◆ write()

template<typename ppT >
void libzeth::srs_mpc_phase2_challenge< ppT >::write ( std::ostream &  out) const

Member Data Documentation

◆ accumulator

template<typename ppT >
srs_mpc_phase2_accumulator<ppT> libzeth::srs_mpc_phase2_challenge< ppT >::accumulator

Definition at line 114 of file phase2.hpp.

◆ transcript_digest

template<typename ppT >
mpc_hash_t libzeth::srs_mpc_phase2_challenge< ppT >::transcript_digest

Definition at line 113 of file phase2.hpp.


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