Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

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 18 of file bls_dkg.cpp.

Constructor & Destructor Documentation

◆ DKG()

DKG::DKG ( int  quorumSize)
inline

Definition at line 28 of file bls_dkg.cpp.

References blsWorker, CBLSWorker::GenerateContributions(), ids, and members.

Member Function Documentation

◆ Bench_BuildQuorumVerificationVectors()

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

◆ Bench_VerifyContributionShares()

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

◆ BuildQuorumVerificationVector()

void DKG::BuildQuorumVerificationVector ( bool  parallel)
inline

◆ ReceiveShares()

void DKG::ReceiveShares ( size_t  whoAmI)
inline

Definition at line 54 of file bls_dkg.cpp.

References members, and receivedSkShares.

Referenced by Bench_VerifyContributionShares().

◆ ReceiveVvecs()

void DKG::ReceiveVvecs ( )
inline

◆ VerifyContributionShares()

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

Member Data Documentation

◆ ids

std::vector<CBLSId> DKG::ids

Definition at line 21 of file bls_dkg.cpp.

Referenced by DKG().

◆ members

std::vector<Member> DKG::members

◆ quorumVvec

BLSVerificationVectorPtr DKG::quorumVvec

Definition at line 26 of file bls_dkg.cpp.

Referenced by BuildQuorumVerificationVector(), and ReceiveVvecs().

◆ receivedSkShares

BLSSecretKeyVector DKG::receivedSkShares

◆ receivedVvecs

std::vector<BLSVerificationVectorPtr> DKG::receivedVvecs

The documentation for this struct was generated from the following file:
Released under the MIT license