Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

bls_worker.cpp File Reference
#include <bls/bls_worker.h>
#include <hash.h>
#include <serialize.h>
#include <util.h>
+ Include dependency graph for bls_worker.cpp:

Go to the source code of this file.

Classes

struct  Aggregator< T >
 
struct  VectorAggregator< T >
 
struct  ContributionVerifier
 
struct  ContributionVerifier::BatchState
 

Functions

template<typename T >
bool VerifyVectorHelper (const std::vector< T > &vec, size_t start, size_t count)
 
template<typename T >
std::pair< std::function< void(const T &)>, std::future< T > > BuildFutureDoneCallback ()
 
template<typename T >
std::pair< std::function< void(T)>, std::future< T > > BuildFutureDoneCallback2 ()
 
template<typename T >
void AsyncAggregateHelper (ctpl::thread_pool &workerPool, const std::vector< T > &vec, size_t start, size_t count, bool parallel, std::function< void(const T &)> doneCallback)
 

Function Documentation

◆ AsyncAggregateHelper()

template<typename T >
void AsyncAggregateHelper ( ctpl::thread_pool workerPool,
const std::vector< T > &  vec,
size_t  start,
size_t  count,
bool  parallel,
std::function< void(const T &)>  doneCallback 
)

◆ BuildFutureDoneCallback()

template<typename T >
std::pair<std::function<void(const T&)>, std::future<T> > BuildFutureDoneCallback ( )

Definition at line 31 of file bls_worker.cpp.

◆ BuildFutureDoneCallback2()

template<typename T >
std::pair<std::function<void(T)>, std::future<T> > BuildFutureDoneCallback2 ( )

Definition at line 40 of file bls_worker.cpp.

◆ VerifyVectorHelper()

template<typename T >
bool VerifyVectorHelper ( const std::vector< T > &  vec,
size_t  start,
size_t  count 
)
Released under the MIT license