Dash Core Source Documentation (0.16.0.1)
Find detailed information regarding the Dash Core source code.
bls_dkg.cpp
Go to the documentation of this file.
77 void VerifyContributionShares(size_t whoAmI, const std::set<size_t>& invalidIndexes, bool parallel, bool aggregated)
79 auto result = blsWorker.VerifyContributionShares(members[whoAmI].id, receivedVvecs, receivedSkShares, parallel, aggregated);
89 void Bench_VerifyContributionShares(benchmark::State& state, int invalidCount, bool parallel, bool aggregated)
141 static void BLSDKG_BuildQuorumVerificationVectors_##name##_##quorumSize(benchmark::State& state) \
#define BENCH_BuildQuorumVerificationVectors(name, quorumSize, parallel)
Definition: bls_dkg.cpp:140
void VerifyContributionShares(size_t whoAmI, const std::set< size_t > &invalidIndexes, bool parallel, bool aggregated)
Definition: bls_dkg.cpp:77
Definition: bls_worker.h:21
void Bench_VerifyContributionShares(benchmark::State &state, int invalidCount, bool parallel, bool aggregated)
Definition: bls_dkg.cpp:89
BLSVerificationVectorPtr BuildQuorumVerificationVector(const std::vector< BLSVerificationVectorPtr > &vvecs, size_t start=0, size_t count=0, bool parallel=true)
Definition: bls_worker.cpp:628
bool GenerateContributions(int threshold, const BLSIdVector &ids, BLSVerificationVectorPtr &vvecRet, BLSSecretKeyVector &skShares)
Definition: bls_worker.cpp:75
#define BENCH_VerifyContributionShares(name, quorumSize, invalidCount, parallel, aggregated)
Definition: bls_dkg.cpp:159
std::shared_ptr< BLSVerificationVector > BLSVerificationVectorPtr
Definition: bls.h:471
void Bench_BuildQuorumVerificationVectors(benchmark::State &state, bool parallel)
Definition: bls_dkg.cpp:68
std::vector< bool > VerifyContributionShares(const CBLSId &forId, const std::vector< BLSVerificationVectorPtr > &vvecs, const BLSSecretKeyVector &skShares, bool parallel=true, bool aggregated=true)
Definition: bls_worker.cpp:748
void BuildQuorumVerificationVector(bool parallel)
Definition: bls_dkg.cpp:62
Definition: bench.h:50
Definition: bls_dkg.cpp:11
Definition: bls_dkg.cpp:18