![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
#include <bls_worker.h>
Public Member Functions | |
| CBLSWorkerCache (CBLSWorker &_worker) | |
| BLSVerificationVectorPtr | BuildQuorumVerificationVector (const uint256 &cacheKey, const std::vector< BLSVerificationVectorPtr > &vvecs) |
| CBLSSecretKey | AggregateSecretKeys (const uint256 &cacheKey, const BLSSecretKeyVector &skShares) |
| CBLSPublicKey | BuildPubKeyShare (const uint256 &cacheKey, const BLSVerificationVectorPtr &vvec, const CBLSId &id) |
Private Member Functions | |
| template<typename T , typename Builder > | |
| T | GetOrBuild (const uint256 &cacheKey, std::map< uint256, std::shared_future< T > > &cache, Builder &&builder) |
Private Attributes | |
| CBLSWorker & | worker |
| std::mutex | cacheCs |
| std::map< uint256, std::shared_future< BLSVerificationVectorPtr > > | vvecCache |
| std::map< uint256, std::shared_future< CBLSSecretKey > > | secretKeyShareCache |
| std::map< uint256, std::shared_future< CBLSPublicKey > > | publicKeyShareCache |
Definition at line 148 of file bls_worker.h.
|
inlineexplicit |
Definition at line 159 of file bls_worker.h.
|
inline |
Definition at line 168 of file bls_worker.h.
|
inline |
Definition at line 174 of file bls_worker.h.
|
inline |
Definition at line 162 of file bls_worker.h.
|
private |
Definition at line 153 of file bls_worker.h.
|
private |
Definition at line 156 of file bls_worker.h.
|
private |
Definition at line 155 of file bls_worker.h.
|
private |
Definition at line 154 of file bls_worker.h.
|
private |
Definition at line 151 of file bls_worker.h.