#include <MinerAux.h>
|
| void | doInitDAG (unsigned _n) |
| |
| void | doBenchmark (std::string _m, unsigned _warmupDuration=15, unsigned _trialDuration=3, unsigned _trials=5) |
| |
| void | doFarm (std::string _m, string const &_remote, unsigned _recheckPeriod) |
| |
Definition at line 89 of file MinerAux.h.
| Enumerator |
|---|
| None |
|
| DAGInit |
|
| Benchmark |
|
| Farm |
|
Definition at line 92 of file MinerAux.h.
| void MinerCLI::doBenchmark |
( |
std::string |
_m, |
|
|
unsigned |
_warmupDuration = 15, |
|
|
unsigned |
_trialDuration = 3, |
|
|
unsigned |
_trials = 5 |
|
) |
| |
|
inlineprivate |
| void MinerCLI::doFarm |
( |
std::string |
_m, |
|
|
string const & |
_remote, |
|
|
unsigned |
_recheckPeriod |
|
) |
| |
|
inlineprivate |
| void MinerCLI::doInitDAG |
( |
unsigned |
_n | ) |
|
|
inlineprivate |
| void MinerCLI::execute |
( |
| ) |
|
|
inline |
| bool MinerCLI::interpretOption |
( |
int & |
i, |
|
|
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
|
inline |
| std::string MinerCLI::minerType |
( |
| ) |
const |
|
inline |
| bool MinerCLI::shouldPrecompute |
( |
| ) |
const |
|
inline |
| static void MinerCLI::streamHelp |
( |
ostream & |
_out | ) |
|
|
inlinestatic |
| unsigned MinerCLI::m_benchmarkTrial = 3 |
|
private |
| unsigned MinerCLI::m_benchmarkTrials = 5 |
|
private |
| unsigned MinerCLI::m_benchmarkWarmup = 3 |
|
private |
| uint64_t MinerCLI::m_currentBlock = 0 |
|
private |
| unsigned MinerCLI::m_farmRecheckPeriod = 500 |
|
private |
| string MinerCLI::m_farmURL = "http://127.0.0.1:8545" |
|
private |
| unsigned MinerCLI::m_initDAG = 0 |
|
private |
DAG initialisation param.
Definition at line 451 of file MinerAux.h.
| std::string MinerCLI::m_minerType = "cpu" |
|
private |
| unsigned MinerCLI::m_miningThreads = UINT_MAX |
|
private |
| bool MinerCLI::m_precompute = true |
|
private |
| bool MinerCLI::m_submitHashrate = true |
|
private |
The documentation for this class was generated from the following file: