PIVX Core  5.6.99
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
DKG Struct Reference

Public Member Functions

 DKG (int quorumSize)
 
void ReceiveVvecs ()
 
void ReceiveShares (size_t whoAmI)
 
void BuildQuorumVerificationVector (bool parallel)
 
void Bench_BuildQuorumVerificationVectors (benchmark::State &state, bool parallel)
 
void VerifyContributionShares (size_t whoAmI, const std::set< size_t > &invalidIndexes, bool parallel, bool aggregated)
 
void Bench_VerifyContributionShares (benchmark::State &state, int invalidCount, bool parallel, bool aggregated)
 

Public Attributes

std::vector< Membermembers
 
std::vector< CBLSIdids
 
std::vector< BLSVerificationVectorPtrreceivedVvecs
 
BLSSecretKeyVector receivedSkShares
 
BLSVerificationVectorPtr quorumVvec
 

Detailed Description

Definition at line 19 of file bls_dkg.cpp.

Constructor & Destructor Documentation

◆ DKG()

DKG::DKG ( int  quorumSize)
inline

Definition at line 29 of file bls_dkg.cpp.

Member Function Documentation

◆ Bench_BuildQuorumVerificationVectors()

void DKG::Bench_BuildQuorumVerificationVectors ( benchmark::State state,
bool  parallel 
)
inline

Definition at line 71 of file bls_dkg.cpp.

Here is the call graph for this function:

◆ Bench_VerifyContributionShares()

void DKG::Bench_VerifyContributionShares ( benchmark::State state,
int  invalidCount,
bool  parallel,
bool  aggregated 
)
inline

Definition at line 92 of file bls_dkg.cpp.

Here is the call graph for this function:

◆ BuildQuorumVerificationVector()

void DKG::BuildQuorumVerificationVector ( bool  parallel)
inline

Definition at line 65 of file bls_dkg.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ReceiveShares()

void DKG::ReceiveShares ( size_t  whoAmI)
inline

Definition at line 57 of file bls_dkg.cpp.

Here is the caller graph for this function:

◆ ReceiveVvecs()

void DKG::ReceiveVvecs ( )
inline

Definition at line 48 of file bls_dkg.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ VerifyContributionShares()

void DKG::VerifyContributionShares ( size_t  whoAmI,
const std::set< size_t > &  invalidIndexes,
bool  parallel,
bool  aggregated 
)
inline

Definition at line 80 of file bls_dkg.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ ids

std::vector<CBLSId> DKG::ids

Definition at line 22 of file bls_dkg.cpp.

◆ members

std::vector<Member> DKG::members

Definition at line 21 of file bls_dkg.cpp.

◆ quorumVvec

BLSVerificationVectorPtr DKG::quorumVvec

Definition at line 27 of file bls_dkg.cpp.

◆ receivedSkShares

BLSSecretKeyVector DKG::receivedSkShares

Definition at line 25 of file bls_dkg.cpp.

◆ receivedVvecs

std::vector<BLSVerificationVectorPtr> DKG::receivedVvecs

Definition at line 24 of file bls_dkg.cpp.


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