1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-18 11:52:44 -05:00

Add Flex algo (for KCN coin) algo support

This commit is contained in:
MoneroOcean
2024-05-27 11:03:46 -07:00
parent 7445870414
commit bf3831c05b
43 changed files with 5160 additions and 23 deletions

View File

@@ -49,7 +49,7 @@ xmrig::BenchClient::BenchClient(const std::shared_ptr<BenchConfig> &benchmark, I
blob.back() = '\0';
# ifdef XMRIG_ALGO_GHOSTRIDER
if (m_benchmark->algorithm() == Algorithm::GHOSTRIDER_RTM) {
if (m_benchmark->algorithm().family() == Algorithm::GHOSTRIDER) {
const uint32_t q = (benchmark->rotation() / 20) & 1;
const uint32_t r = benchmark->rotation() % 20;