Features of 1.6.5 (#140)
* Hashrate improve -> add autodetection mode for cpu-affinity * Hashrate improve, more stable hashrates -> refactor memory allocation * Add TubeV4 support (cn-heavy + ipbc mod + soft-aes mod) * Update ccp-httpd lib to fix stop/freeze of cc communication on some miners * Fix cn-heavy on arm processors
This commit is contained in:
parent
7897f8f645
commit
90699d58ec
38 changed files with 5525 additions and 3114 deletions
25
src/App.cpp
25
src/App.cpp
|
@ -113,7 +113,6 @@ App::~App()
|
|||
delete m_network;
|
||||
|
||||
Options::release();
|
||||
Mem::release();
|
||||
Platform::release();
|
||||
|
||||
uv_tty_reset_mode();
|
||||
|
@ -142,12 +141,26 @@ int App::start()
|
|||
|
||||
background();
|
||||
|
||||
if (!CryptoNight::init(m_options->algo(), m_options->aesni())) {
|
||||
LOG_ERR("\"%s\" hash self-test failed.", m_options->algoName());
|
||||
return EINVAL;
|
||||
if (Options::i()->colors()) {
|
||||
LOG_INFO(WHITE_BOLD("%s hash self-test"), m_options->algoName());
|
||||
}
|
||||
else {
|
||||
LOG_INFO("%s hash self-test", m_options->algoName());
|
||||
}
|
||||
|
||||
Mem::allocate(m_options);
|
||||
if (!CryptoNight::init(m_options->algo(), m_options->aesni())) {
|
||||
LOG_ERR("%s hash self-test... failed.", m_options->algoName());
|
||||
return EINVAL;
|
||||
} else {
|
||||
if (Options::i()->colors()) {
|
||||
LOG_INFO(WHITE_BOLD("%s hash self-test... ") GREEN_BOLD("successful") ".", m_options->algoName());
|
||||
}
|
||||
else {
|
||||
LOG_INFO("%s hash self-test... successful.", m_options->algoName());
|
||||
}
|
||||
}
|
||||
|
||||
Mem::init(m_options);
|
||||
|
||||
Summary::print();
|
||||
|
||||
|
@ -174,7 +187,7 @@ int App::start()
|
|||
}
|
||||
# endif
|
||||
|
||||
Workers::start(m_options->affinity(), m_options->priority());
|
||||
Workers::start(m_options->threads(), m_options->affinity(), m_options->priority());
|
||||
|
||||
if (m_options->pools().front()->isValid()) {
|
||||
m_network->connect();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue