XMRig
4 years ago
No known key found for this signature in database
GPG Key ID: 446A53638BE94409
63 changed files with
144 additions and
154 deletions
-
CMakeLists.txt
-
src/backend/common/Threads.cpp
-
src/backend/common/Threads.h
-
src/backend/cpu/CpuLaunchData.h
-
src/backend/cpu/interfaces/ICpuInfo.h
-
src/backend/cuda/CudaLaunchData.h
-
src/backend/cuda/CudaThread.cpp
-
src/backend/cuda/CudaThread.h
-
src/backend/cuda/wrappers/CudaDevice.cpp
-
src/backend/cuda/wrappers/CudaLib.h
-
src/backend/opencl/OclCache.cpp
-
src/backend/opencl/OclCache.h
-
src/backend/opencl/OclLaunchData.cpp
-
src/backend/opencl/OclLaunchData.h
-
src/backend/opencl/OclThread.cpp
-
src/backend/opencl/OclThread.h
-
src/backend/opencl/cl/OclSource.cpp
-
src/backend/opencl/cl/OclSource.h
-
src/backend/opencl/generators/ocl_generic_cn_generator.cpp
-
src/backend/opencl/generators/ocl_generic_cn_gpu_generator.cpp
-
src/backend/opencl/generators/ocl_generic_rx_generator.cpp
-
src/backend/opencl/generators/ocl_vega_cn_generator.cpp
-
src/backend/opencl/kernels/rx/RxRunKernel.cpp
-
src/backend/opencl/runners/OclBaseRunner.cpp
-
src/backend/opencl/runners/OclBaseRunner.h
-
src/backend/opencl/runners/OclCnRunner.cpp
-
src/backend/opencl/runners/OclCnRunner.h
-
src/backend/opencl/runners/OclRyoRunner.cpp
-
src/backend/opencl/runners/OclRyoRunner.h
-
src/backend/opencl/wrappers/OclDevice.cpp
-
src/base/api/Api.cpp
-
src/base/base.cmake
-
src/base/crypto/Algorithm.cpp
-
src/base/crypto/Algorithm.h
-
src/base/crypto/CnAlgo.h
-
src/base/crypto/Coin.cpp
-
src/base/crypto/Coin.h
-
src/base/crypto/keccak.cpp
-
src/base/crypto/keccak.h
-
src/base/kernel/config/BaseTransform.h
-
src/base/kernel/interfaces/IConfig.h
-
src/base/kernel/interfaces/IConfigTransform.h
-
src/base/net/stratum/Client.h
-
src/base/net/stratum/Job.h
-
src/base/net/stratum/NetworkState.h
-
src/base/net/stratum/Pool.h
-
src/core/Miner.h
-
src/crypto/argon2/Hash.h
-
src/crypto/astrobwt/AstroBWT.h
-
src/crypto/astrobwt/sha3.cpp
-
src/crypto/cn/CnCtx.cpp
-
src/crypto/cn/CnCtx.h
-
src/crypto/cn/CnHash.cpp
-
src/crypto/cn/CnHash.h
-
src/crypto/cn/CryptoNight_arm.h
-
src/crypto/cn/CryptoNight_x86.h
-
src/crypto/cn/gpu/cn_gpu_avx.cpp
-
src/crypto/cn/gpu/cn_gpu_ssse3.cpp
-
src/crypto/cn/r/variant4_random_math.h
-
src/crypto/rx/RxAlgo.h
-
src/crypto/rx/RxDataset.cpp
-
src/crypto/rx/RxDataset.h
-
src/net/strategies/DonateStrategy.cpp
|
|
@ -67,7 +67,6 @@ set(HEADERS_CRYPTO |
|
|
|
src/crypto/cn/c_groestl.h |
|
|
|
src/crypto/cn/c_jh.h |
|
|
|
src/crypto/cn/c_skein.h |
|
|
|
src/crypto/cn/CnAlgo.h |
|
|
|
src/crypto/cn/CnCtx.h |
|
|
|
src/crypto/cn/CnHash.h |
|
|
|
src/crypto/cn/CryptoNight_monero.h |
|
|
@ -77,10 +76,7 @@ set(HEADERS_CRYPTO |
|
|
|
src/crypto/cn/hash.h |
|
|
|
src/crypto/cn/skein_port.h |
|
|
|
src/crypto/cn/soft_aes.h |
|
|
|
src/crypto/common/Algorithm.h |
|
|
|
src/crypto/common/Coin.h |
|
|
|
src/crypto/common/HugePagesInfo.h |
|
|
|
src/crypto/common/keccak.h |
|
|
|
src/crypto/common/MemoryPool.h |
|
|
|
src/crypto/common/Nonce.h |
|
|
|
src/crypto/common/portable/mm_malloc.h |
|
|
@ -116,10 +112,7 @@ set(SOURCES_CRYPTO |
|
|
|
src/crypto/cn/c_skein.c |
|
|
|
src/crypto/cn/CnCtx.cpp |
|
|
|
src/crypto/cn/CnHash.cpp |
|
|
|
src/crypto/common/Algorithm.cpp |
|
|
|
src/crypto/common/Coin.cpp |
|
|
|
src/crypto/common/HugePagesInfo.cpp |
|
|
|
src/crypto/common/keccak.cpp |
|
|
|
src/crypto/common/MemoryPool.cpp |
|
|
|
src/crypto/common/Nonce.cpp |
|
|
|
src/crypto/common/VirtualMemory.cpp |
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -25,7 +25,7 @@ |
|
|
|
|
|
|
|
#include "backend/common/Threads.h" |
|
|
|
#include "backend/cpu/CpuThreads.h" |
|
|
|
#include "crypto/cn/CnAlgo.h" |
|
|
|
#include "base/crypto/CnAlgo.h" |
|
|
|
#include "rapidjson/document.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -30,8 +30,8 @@ |
|
|
|
#include <set> |
|
|
|
|
|
|
|
|
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
#include "base/tools/String.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "rapidjson/fwd.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -27,8 +27,8 @@ |
|
|
|
#define XMRIG_CPULAUNCHDATA_H |
|
|
|
|
|
|
|
|
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
#include "crypto/cn/CnHash.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "crypto/common/Assembly.h" |
|
|
|
#include "crypto/common/Nonce.h" |
|
|
|
|
|
|
|
|
|
@ -27,8 +27,8 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include "backend/cpu/CpuThreads.h" |
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
#include "crypto/common/Assembly.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
|
|
|
|
|
|
|
|
namespace xmrig { |
|
|
|
|
|
@ -28,7 +28,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include "backend/cuda/CudaThread.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
#include "crypto/common/Nonce.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -29,7 +29,6 @@ |
|
|
|
using nvid_ctx = struct nvid_ctx; |
|
|
|
|
|
|
|
|
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "rapidjson/fwd.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -26,8 +26,8 @@ |
|
|
|
#include "backend/cuda/wrappers/CudaDevice.h" |
|
|
|
#include "backend/cuda/CudaThreads.h" |
|
|
|
#include "backend/cuda/wrappers/CudaLib.h" |
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
#include "base/io/log/Log.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "rapidjson/document.h" |
|
|
|
|
|
|
|
#ifdef XMRIG_FEATURE_NVML |
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -31,7 +31,6 @@ using nvid_ctx = struct nvid_ctx; |
|
|
|
|
|
|
|
#include "backend/cuda/wrappers/CudaDevice.h" |
|
|
|
#include "base/tools/String.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
|
|
|
|
|
|
|
|
#include <vector> |
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -29,15 +29,15 @@ |
|
|
|
#include <sstream> |
|
|
|
|
|
|
|
|
|
|
|
#include "backend/opencl/OclCache.h" |
|
|
|
#include "3rdparty/base32/base32.h" |
|
|
|
#include "backend/common/Tags.h" |
|
|
|
#include "backend/opencl/interfaces/IOclRunner.h" |
|
|
|
#include "backend/opencl/OclCache.h" |
|
|
|
#include "backend/opencl/OclLaunchData.h" |
|
|
|
#include "backend/opencl/wrappers/OclLib.h" |
|
|
|
#include "base/crypto/keccak.h" |
|
|
|
#include "base/io/log/Log.h" |
|
|
|
#include "base/tools/Chrono.h" |
|
|
|
#include "crypto/common/keccak.h" |
|
|
|
|
|
|
|
|
|
|
|
namespace xmrig { |
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
|
|
|
@ -6,8 +6,8 @@ |
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018 Lee Clagett <https://github.com/vtnerd>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
|
|
|
@ -6,8 +6,8 @@ |
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018 Lee Clagett <https://github.com/vtnerd>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -31,7 +31,7 @@ |
|
|
|
#include "backend/opencl/runners/tools/OclSharedData.h" |
|
|
|
#include "backend/opencl/wrappers/OclDevice.h" |
|
|
|
#include "backend/opencl/wrappers/OclPlatform.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
#include "crypto/common/Nonce.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -24,7 +24,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include "backend/opencl/OclThread.h" |
|
|
|
|
|
|
|
#include "base/io/json/Json.h" |
|
|
|
#include "rapidjson/document.h" |
|
|
|
|
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -26,7 +26,6 @@ |
|
|
|
#define XMRIG_OCLTHREAD_H |
|
|
|
|
|
|
|
|
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "rapidjson/fwd.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -24,9 +24,8 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include "backend/opencl/cl/OclSource.h" |
|
|
|
|
|
|
|
#include "backend/opencl/cl/cn/cryptonight_cl.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
|
|
|
|
|
|
|
|
#ifdef XMRIG_ALGO_CN_GPU |
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
|
|
|
@ -6,8 +6,8 @@ |
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018 Lee Clagett <https://github.com/vtnerd>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -26,8 +26,8 @@ |
|
|
|
|
|
|
|
#include "backend/opencl/OclThreads.h" |
|
|
|
#include "backend/opencl/wrappers/OclDevice.h" |
|
|
|
#include "crypto/cn/CnAlgo.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
#include "base/crypto/CnAlgo.h" |
|
|
|
|
|
|
|
|
|
|
|
#include <algorithm> |
|
|
|
|
|
@ -6,8 +6,8 @@ |
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018 Lee Clagett <https://github.com/vtnerd>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -26,7 +26,7 @@ |
|
|
|
|
|
|
|
#include "backend/opencl/OclThreads.h" |
|
|
|
#include "backend/opencl/wrappers/OclDevice.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
|
|
|
|
|
|
|
|
#include <algorithm> |
|
|
|
|
|
@ -26,7 +26,7 @@ |
|
|
|
|
|
|
|
#include "backend/opencl/OclThreads.h" |
|
|
|
#include "backend/opencl/wrappers/OclDevice.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
#include "crypto/randomx/randomx.h" |
|
|
|
#include "crypto/rx/RxAlgo.h" |
|
|
|
|
|
|
|
|
|
@ -26,8 +26,8 @@ |
|
|
|
|
|
|
|
#include "backend/opencl/OclThreads.h" |
|
|
|
#include "backend/opencl/wrappers/OclDevice.h" |
|
|
|
#include "crypto/cn/CnAlgo.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
#include "base/crypto/CnAlgo.h" |
|
|
|
|
|
|
|
|
|
|
|
#include <algorithm> |
|
|
|
|
|
@ -25,7 +25,7 @@ |
|
|
|
|
|
|
|
#include "backend/opencl/kernels/rx/RxRunKernel.h" |
|
|
|
#include "backend/opencl/wrappers/OclLib.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
#include "crypto/randomx/randomx.h" |
|
|
|
#include "crypto/rx/RxAlgo.h" |
|
|
|
|
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -31,7 +31,7 @@ |
|
|
|
|
|
|
|
#include "3rdparty/cl.h" |
|
|
|
#include "backend/opencl/interfaces/IOclRunner.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
|
|
|
|
|
|
|
|
namespace xmrig { |
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -24,7 +24,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include "backend/opencl/runners/OclCnRunner.h" |
|
|
|
|
|
|
|
#include "backend/opencl/kernels/Cn0Kernel.h" |
|
|
|
#include "backend/opencl/kernels/Cn1Kernel.h" |
|
|
|
#include "backend/opencl/kernels/Cn2Kernel.h" |
|
|
@ -32,9 +31,9 @@ |
|
|
|
#include "backend/opencl/OclLaunchData.h" |
|
|
|
#include "backend/opencl/runners/tools/OclCnR.h" |
|
|
|
#include "backend/opencl/wrappers/OclLib.h" |
|
|
|
#include "base/crypto/CnAlgo.h" |
|
|
|
#include "base/io/log/Log.h" |
|
|
|
#include "base/net/stratum/Job.h" |
|
|
|
#include "crypto/cn/CnAlgo.h" |
|
|
|
|
|
|
|
|
|
|
|
xmrig::OclCnRunner::OclCnRunner(size_t index, const OclLaunchData &data) : OclBaseRunner(index, data) |
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -24,7 +24,6 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include "backend/opencl/runners/OclRyoRunner.h" |
|
|
|
|
|
|
|
#include "backend/opencl/kernels/Cn00RyoKernel.h" |
|
|
|
#include "backend/opencl/kernels/Cn0Kernel.h" |
|
|
|
#include "backend/opencl/kernels/Cn1RyoKernel.h" |
|
|
@ -32,9 +31,9 @@ |
|
|
|
#include "backend/opencl/kernels/CnBranchKernel.h" |
|
|
|
#include "backend/opencl/OclLaunchData.h" |
|
|
|
#include "backend/opencl/wrappers/OclLib.h" |
|
|
|
#include "base/crypto/CnAlgo.h" |
|
|
|
#include "base/io/log/Log.h" |
|
|
|
#include "base/net/stratum/Job.h" |
|
|
|
#include "crypto/cn/CnAlgo.h" |
|
|
|
|
|
|
|
|
|
|
|
xmrig::OclRyoRunner::OclRyoRunner(size_t index, const OclLaunchData &data) : OclBaseRunner(index, data) |
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
|
|
|
@ -28,8 +28,6 @@ |
|
|
|
#include "backend/opencl/OclThreads.h" |
|
|
|
#include "backend/opencl/wrappers/OclLib.h" |
|
|
|
#include "base/io/log/Log.h" |
|
|
|
#include "crypto/cn/CnAlgo.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "rapidjson/document.h" |
|
|
|
|
|
|
|
#ifdef XMRIG_FEATURE_ADL |
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -30,6 +30,7 @@ |
|
|
|
#include "3rdparty/http-parser/http_parser.h" |
|
|
|
#include "base/api/interfaces/IApiListener.h" |
|
|
|
#include "base/api/requests/HttpApiRequest.h" |
|
|
|
#include "base/crypto/keccak.h" |
|
|
|
#include "base/io/json/Json.h" |
|
|
|
#include "base/kernel/Base.h" |
|
|
|
#include "base/kernel/Env.h" |
|
|
@ -37,7 +38,6 @@ |
|
|
|
#include "base/tools/Chrono.h" |
|
|
|
#include "core/config/Config.h" |
|
|
|
#include "core/Controller.h" |
|
|
|
#include "crypto/common/keccak.h" |
|
|
|
#include "version.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1,5 +1,9 @@ |
|
|
|
set(HEADERS_BASE |
|
|
|
src/base/api/interfaces/IApiListener.h |
|
|
|
src/base/crypto/Algorithm.h |
|
|
|
src/base/crypto/CnAlgo.h |
|
|
|
src/base/crypto/Coin.h |
|
|
|
src/base/crypto/keccak.h |
|
|
|
src/base/io/Console.h |
|
|
|
src/base/io/json/Json.h |
|
|
|
src/base/io/json/JsonChain.h |
|
|
@ -61,6 +65,9 @@ set(HEADERS_BASE |
|
|
|
) |
|
|
|
|
|
|
|
set(SOURCES_BASE |
|
|
|
src/base/crypto/Algorithm.cpp |
|
|
|
src/base/crypto/Coin.cpp |
|
|
|
src/base/crypto/keccak.cpp |
|
|
|
src/base/io/Console.cpp |
|
|
|
src/base/io/json/Json.cpp |
|
|
|
src/base/io/json/JsonChain.cpp |
|
|
|
|
|
@ -24,8 +24,8 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "crypto/cn/CnAlgo.h" |
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
#include "base/crypto/CnAlgo.h" |
|
|
|
#include "rapidjson/document.h" |
|
|
|
|
|
|
|
|
|
|
@ -6,8 +6,8 @@ |
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2019 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018 Lee Clagett <https://github.com/vtnerd>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -31,7 +31,7 @@ |
|
|
|
#include <cstdint> |
|
|
|
|
|
|
|
|
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
|
|
|
|
|
|
|
|
namespace xmrig |
|
|
@ -24,7 +24,7 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
#include "crypto/common/Coin.h" |
|
|
|
#include "base/crypto/Coin.h" |
|
|
|
#include "rapidjson/document.h" |
|
|
|
|
|
|
|
|
|
|
@ -27,7 +27,7 @@ |
|
|
|
#define XMRIG_COIN_H |
|
|
|
|
|
|
|
|
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
#include "rapidjson/fwd.h" |
|
|
|
|
|
|
|
|
|
|
@ -6,7 +6,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2016-2018 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -23,11 +24,10 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
#include <stdint.h> |
|
|
|
#include <memory.h> |
|
|
|
|
|
|
|
|
|
|
|
#include "crypto/common/keccak.h" |
|
|
|
#include "base/crypto/keccak.h" |
|
|
|
|
|
|
|
|
|
|
|
#define HASH_DATA_AREA 136 |
|
|
@ -6,7 +6,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2016-2018 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -26,8 +27,8 @@ |
|
|
|
#ifndef XMRIG_KECCAK_H |
|
|
|
#define XMRIG_KECCAK_H |
|
|
|
|
|
|
|
#include <stdint.h> |
|
|
|
#include <string.h> |
|
|
|
#include <cstdint> |
|
|
|
#include <cstring> |
|
|
|
|
|
|
|
|
|
|
|
namespace xmrig { |
|
|
@ -26,8 +26,8 @@ |
|
|
|
#define XMRIG_BASETRANSFORM_H |
|
|
|
|
|
|
|
|
|
|
|
#include "base/crypto/Coin.h" |
|
|
|
#include "base/kernel/interfaces/IConfigTransform.h" |
|
|
|
#include "crypto/common/Coin.h" |
|
|
|
#include "rapidjson/document.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -26,7 +26,6 @@ |
|
|
|
#define XMRIG_ICONFIG_H |
|
|
|
|
|
|
|
|
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "rapidjson/fwd.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -26,7 +26,6 @@ |
|
|
|
#define XMRIG_ICONFIGTRANSFORM_H |
|
|
|
|
|
|
|
|
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "rapidjson/fwd.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -42,7 +42,6 @@ |
|
|
|
#include "base/net/tools/RecvBuf.h" |
|
|
|
#include "base/net/tools/Storage.h" |
|
|
|
#include "base/tools/Object.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
|
|
|
|
|
|
|
|
using BIO = struct bio_st; |
|
|
|
|
|
@ -6,9 +6,9 @@ |
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018 Lee Clagett <https://github.com/vtnerd>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2019 Howard Chu <https://github.com/hyc>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -32,9 +32,9 @@ |
|
|
|
#include <cstdint> |
|
|
|
|
|
|
|
|
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
#include "base/tools/Buffer.h" |
|
|
|
#include "base/tools/String.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
|
|
|
|
|
|
|
|
namespace xmrig { |
|
|
|
|
|
@ -26,9 +26,9 @@ |
|
|
|
#define XMRIG_NETWORKSTATE_H |
|
|
|
|
|
|
|
|
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
#include "base/net/stratum/strategies/StrategyProxy.h" |
|
|
|
#include "base/tools/String.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
|
|
|
|
|
|
|
|
#include <array> |
|
|
|
|
|
@ -31,8 +31,8 @@ |
|
|
|
#include <vector> |
|
|
|
|
|
|
|
|
|
|
|
#include "base/crypto/Coin.h" |
|
|
|
#include "base/net/stratum/ProxyUrl.h" |
|
|
|
#include "crypto/common/Coin.h" |
|
|
|
#include "rapidjson/fwd.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -31,10 +31,10 @@ |
|
|
|
|
|
|
|
#include "backend/common/interfaces/IRxListener.h" |
|
|
|
#include "base/api/interfaces/IApiListener.h" |
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
#include "base/kernel/interfaces/IBaseListener.h" |
|
|
|
#include "base/kernel/interfaces/ITimerListener.h" |
|
|
|
#include "base/tools/Object.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
|
|
|
|
|
|
|
|
namespace xmrig { |
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -27,8 +27,8 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include "3rdparty/argon2.h" |
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
#include "crypto/cn/CryptoNight.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
|
|
|
|
|
|
|
|
namespace xmrig { namespace argon2 { |
|
|
|
|
|
@ -27,7 +27,8 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
|
|
|
|
|
|
|
|
struct cryptonight_ctx; |
|
|
|
|
|
|
|
|
|
@ -16,12 +16,12 @@ |
|
|
|
* Aug 2015. Andrey Jivsov. crypto@brainhub.org |
|
|
|
* ---------------------------------------------------------------------- */ |
|
|
|
|
|
|
|
#include <stdio.h> |
|
|
|
#include <stdint.h> |
|
|
|
#include <string.h> |
|
|
|
#include <cstdio> |
|
|
|
#include <cstdint> |
|
|
|
#include <cstring> |
|
|
|
|
|
|
|
#include "sha3.h" |
|
|
|
#include "crypto/common/keccak.h" |
|
|
|
#include "base/crypto/keccak.h" |
|
|
|
|
|
|
|
#define SHA3_ASSERT( x ) |
|
|
|
#if defined(_MSC_VER) |
|
|
|
|
|
@ -6,8 +6,8 @@ |
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2019 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018 Lee Clagett <https://github.com/vtnerd>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -27,8 +27,8 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include "crypto/cn/CnCtx.h" |
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
#include "crypto/cn/CryptoNight.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "crypto/common/portable/mm_malloc.h" |
|
|
|
#include "crypto/common/VirtualMemory.h" |
|
|
|
|
|
|
|
|
|
@ -6,8 +6,8 @@ |
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2019 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018 Lee Clagett <https://github.com/vtnerd>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -27,8 +27,8 @@ |
|
|
|
#define XMRIG_CN_CTX_H |
|
|
|
|
|
|
|
|
|
|
|
#include <stddef.h> |
|
|
|
#include <stdint.h> |
|
|
|
#include <cstddef> |
|
|
|
#include <cstdint> |
|
|
|
|
|
|
|
|
|
|
|
struct cryptonight_ctx; |
|
|
|
|
|
@ -6,8 +6,8 @@ |
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2019 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018 Lee Clagett <https://github.com/vtnerd>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
|
|
|
@ -6,8 +6,8 @@ |
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2019 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018 Lee Clagett <https://github.com/vtnerd>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -31,7 +31,7 @@ |
|
|
|
#include <cstdint> |
|
|
|
|
|
|
|
|
|
|
|
#include "crypto/cn/CnAlgo.h" |
|
|
|
#include "base/crypto/CnAlgo.h" |
|
|
|
#include "crypto/common/Assembly.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -7,8 +7,8 @@ |
|
|
|
* Copyright 2016 Imran Yusuff <https://github.com/imranyusuff>
|
|
|
|
* Copyright 2017-2019 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018 Lee Clagett <https://github.com/vtnerd>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -28,11 +28,11 @@ |
|
|
|
#define XMRIG_CRYPTONIGHT_ARM_H |
|
|
|
|
|
|
|
|
|
|
|
#include "crypto/cn/CnAlgo.h" |
|
|
|
#include "base/crypto/CnAlgo.h" |
|
|
|
#include "base/crypto/keccak.h" |
|
|
|
#include "crypto/cn/CryptoNight_monero.h" |
|
|
|
#include "crypto/cn/CryptoNight.h" |
|
|
|
#include "crypto/cn/soft_aes.h" |
|
|
|
#include "crypto/common/keccak.h" |
|
|
|
#include "crypto/common/portable/mm_malloc.h" |
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -6,8 +6,8 @@ |
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2019 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018 Lee Clagett <https://github.com/vtnerd>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -36,11 +36,11 @@ |
|
|
|
|
|
|
|
|
|
|
|
#include "backend/cpu/Cpu.h" |
|
|
|
#include "crypto/cn/CnAlgo.h" |
|
|
|
#include "base/crypto/CnAlgo.h" |
|
|
|
#include "base/crypto/keccak.h" |
|
|
|
#include "crypto/cn/CryptoNight_monero.h" |
|
|
|
#include "crypto/cn/CryptoNight.h" |
|
|
|
#include "crypto/cn/soft_aes.h" |
|
|
|
#include "crypto/common/keccak.h" |
|
|
|
|
|
|
|
|
|
|
|
extern "C" |
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2019 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <support@xmrig.com> |
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -23,7 +23,7 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
#include "crypto/cn/CnAlgo.h" |
|
|
|
#include "base/crypto/CnAlgo.h" |
|
|
|
|
|
|
|
|
|
|
|
#ifdef __GNUC__ |
|
|
|
|
|
@ -5,8 +5,8 @@ |
|
|
|
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
|
|
|
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> |
|
|
|
* Copyright 2017-2019 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <support@xmrig.com> |
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -23,7 +23,7 @@ |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
#include "crypto/cn/CnAlgo.h" |
|
|
|
#include "base/crypto/CnAlgo.h" |
|
|
|
|
|
|
|
|
|
|
|
#ifdef __GNUC__ |
|
|
|
|
|
@ -2,10 +2,10 @@ |
|
|
|
#define VARIANT4_RANDOM_MATH_H |
|
|
|
|
|
|
|
|
|
|
|
#include <string.h> |
|
|
|
#include <cstring> |
|
|
|
|
|
|
|
|
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
|
|
|
|
|
|
|
|
extern "C" |
|
|
|
|
|
@ -7,8 +7,8 @@ |
|
|
|
* Copyright 2017-2019 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018 Lee Clagett <https://github.com/vtnerd>
|
|
|
|
* Copyright 2018-2019 tevador <tevador@gmail.com> |
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -32,7 +32,7 @@ |
|
|
|
#include <cstdint> |
|
|
|
|
|
|
|
|
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
|
|
|
|
|
|
|
|
struct RandomX_ConfigurationBase; |
|
|
|
|
|
@ -7,8 +7,8 @@ |
|
|
|
* Copyright 2017-2019 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018 Lee Clagett <https://github.com/vtnerd>
|
|
|
|
* Copyright 2018-2019 tevador <tevador@gmail.com> |
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
|
|
|
@ -7,8 +7,8 @@ |
|
|
|
* Copyright 2017-2019 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
|
|
|
* Copyright 2018 Lee Clagett <https://github.com/vtnerd>
|
|
|
|
* Copyright 2018-2019 tevador <tevador@gmail.com> |
|
|
|
* Copyright 2018-2019 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2019 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
|
|
|
* Copyright 2018-2020 SChernykh <https://github.com/SChernykh>
|
|
|
|
* Copyright 2016-2020 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 |
|
|
@ -28,8 +28,8 @@ |
|
|
|
#define XMRIG_RX_DATASET_H |
|
|
|
|
|
|
|
|
|
|
|
#include "base/crypto/Algorithm.h" |
|
|
|
#include "base/tools/Object.h" |
|
|
|
#include "crypto/common/Algorithm.h" |
|
|
|
#include "crypto/common/HugePagesInfo.h" |
|
|
|
#include "crypto/randomx/configuration.h" |
|
|
|
#include "crypto/randomx/randomx.h" |
|
|
|
|
|
@ -28,6 +28,8 @@ |
|
|
|
#include <iterator> |
|
|
|
|
|
|
|
|
|
|
|
#include "net/strategies/DonateStrategy.h" |
|
|
|
#include "base/crypto/keccak.h" |
|
|
|
#include "base/kernel/Platform.h" |
|
|
|
#include "base/net/stratum/Client.h" |
|
|
|
#include "base/net/stratum/Job.h" |
|
|
@ -38,9 +40,7 @@ |
|
|
|
#include "core/config/Config.h" |
|
|
|
#include "core/Controller.h" |
|
|
|
#include "core/Miner.h" |
|
|
|
#include "crypto/common/keccak.h" |
|
|
|
#include "net/Network.h" |
|
|
|
#include "net/strategies/DonateStrategy.h" |
|
|
|
#include "rapidjson/document.h" |
|
|
|
|
|
|
|
|
|
|
|