Merge branch 'GraftRandomX' of https://github.com/Stardock2018/xmrig into pr2563

This commit is contained in:
XMRig 2021-08-28 11:50:17 +07:00
commit 35acb3f00b
No known key found for this signature in database
GPG key ID: 446A53638BE94409
15 changed files with 6028 additions and 5843 deletions

View file

@ -1,7 +1,7 @@
/* XMRig
* Copyright (c) 2018-2019 tevador <tevador@gmail.com>
* Copyright (c) 2018-2020 SChernykh <https://github.com/SChernykh>
* Copyright (c) 2016-2020 XMRig <https://github.com/xmrig>, <support@xmrig.com>
* Copyright (c) 2018-2021 SChernykh <https://github.com/SChernykh>
* Copyright (c) 2016-2021 XMRig <https://github.com/xmrig>, <support@xmrig.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -17,7 +17,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "crypto/randomx/randomx.h"
#include "crypto/rx/RxAlgo.h"
@ -39,6 +38,9 @@ const RandomX_ConfigurationBase *xmrig::RxAlgo::base(Algorithm::Id algorithm)
case Algorithm::RX_ARQ:
return &RandomX_ArqmaConfig;
case Algorithm::RX_GRAFT:
return &RandomX_GraftConfig;
case Algorithm::RX_SFX:
return &RandomX_SafexConfig;