Move selfTest to threads, remove legacy CryptoNight.cpp.
This commit is contained in:
parent
d7c5630509
commit
5c6ec587ac
11 changed files with 85 additions and 218 deletions
|
@ -101,11 +101,6 @@ int App::exec()
|
|||
|
||||
background();
|
||||
|
||||
if (!CryptoNight::init(m_controller->config()->algorithm(), m_controller->config()->algoVariant(), m_controller->config()->isDoubleHash())) {
|
||||
LOG_ERR("\"%s\" hash self-test failed.", m_controller->config()->algoName());
|
||||
return 1;
|
||||
}
|
||||
|
||||
Mem::allocate(m_controller->config()->algorithm(),
|
||||
m_controller->config()->threadsCount(),
|
||||
m_controller->config()->isDoubleHash(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue