Add Stellite (XTL) support as cn/xtl.
This commit is contained in:
parent
85f9bd97f1
commit
3df99fbced
3 changed files with 26 additions and 6 deletions
|
@ -58,8 +58,12 @@ bool MultiWorker<N>::selfTest()
|
|||
|
||||
if (m_thread->algorithm() == xmrig::CRYPTONIGHT && memcmp(m_hash, test_output_v0, sizeof m_hash) == 0) {
|
||||
m_thread->fn(xmrig::VARIANT_1)(test_input, 76, m_hash, m_ctx);
|
||||
if (memcmp(m_hash, test_output_v1, sizeof m_hash) != 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return memcmp(m_hash, test_output_v1, sizeof m_hash) == 0;
|
||||
m_thread->fn(xmrig::VARIANT_XTL)(test_input, 76, m_hash, m_ctx);
|
||||
return memcmp(m_hash, test_output_xtl, sizeof m_hash) == 0;
|
||||
}
|
||||
|
||||
# ifndef XMRIG_NO_AEON
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue