|
| | ContributionVerifier (const CBLSId &_forId, const std::vector< BLSVerificationVectorPtr > &_vvecs, const BLSSecretKeyVector &_skShares, size_t _batchSize, bool _parallel, bool _aggregated, ctpl::thread_pool &_workerPool, std::function< void(const std::vector< bool > &)> _doneCallback) |
| |
| void | Start () |
| |
| void | Finish () |
| |
| void | AsyncAggregate (size_t batchIdx) |
| |
| void | HandleAggVvecDone (size_t batchIdx, const BLSVerificationVectorPtr &vvec) |
| |
| void | HandleAggSkShareDone (size_t batchIdx, const CBLSSecretKey &skShare) |
| |
| void | HandleVerifyDone (size_t batchIdx, size_t count) |
| |
| void | HandleAggDone (size_t batchIdx) |
| |
| void | AsyncAggregatedVerifyBatch (size_t batchIdx) |
| |
| void | AsyncVerifyBatchOneByOne (size_t batchIdx) |
| |
| bool | Verify (const BLSVerificationVectorPtr &vvec, const CBLSSecretKey &skShare) |
| |
| template<typename Callable > |
| void | PushOrDoWork (Callable &&f) |
| |
Definition at line 403 of file bls_worker.cpp.
◆ ContributionVerifier()
◆ AsyncAggregate()
| void ContributionVerifier::AsyncAggregate |
( |
size_t |
batchIdx | ) |
|
|
inline |
◆ AsyncAggregatedVerifyBatch()
| void ContributionVerifier::AsyncAggregatedVerifyBatch |
( |
size_t |
batchIdx | ) |
|
|
inline |
◆ AsyncVerifyBatchOneByOne()
| void ContributionVerifier::AsyncVerifyBatchOneByOne |
( |
size_t |
batchIdx | ) |
|
|
inline |
◆ Finish()
| void ContributionVerifier::Finish |
( |
| ) |
|
|
inline |
◆ HandleAggDone()
| void ContributionVerifier::HandleAggDone |
( |
size_t |
batchIdx | ) |
|
|
inline |
◆ HandleAggSkShareDone()
| void ContributionVerifier::HandleAggSkShareDone |
( |
size_t |
batchIdx, |
|
|
const CBLSSecretKey & |
skShare |
|
) |
| |
|
inline |
◆ HandleAggVvecDone()
◆ HandleVerifyDone()
| void ContributionVerifier::HandleVerifyDone |
( |
size_t |
batchIdx, |
|
|
size_t |
count |
|
) |
| |
|
inline |
◆ PushOrDoWork()
template<typename Callable >
| void ContributionVerifier::PushOrDoWork |
( |
Callable && |
f | ) |
|
|
inline |
◆ Start()
| void ContributionVerifier::Start |
( |
| ) |
|
|
inline |
◆ Verify()
◆ aggregated
| bool ContributionVerifier::aggregated |
◆ batchCount
| size_t ContributionVerifier::batchCount |
◆ batchSize
| size_t ContributionVerifier::batchSize |
◆ batchStates
| std::vector<BatchState> ContributionVerifier::batchStates |
◆ doneCallback
| std::function<void(const std::vector<bool>&)> ContributionVerifier::doneCallback |
◆ forId
| CBLSId ContributionVerifier::forId |
◆ parallel
| bool ContributionVerifier::parallel |
◆ skShares
◆ verifyCount
| size_t ContributionVerifier::verifyCount |
◆ verifyDoneCount
| std::atomic<size_t> ContributionVerifier::verifyDoneCount {0} |
◆ vvecs
◆ workerPool
The documentation for this struct was generated from the following file: