XMRigCC 2.0 (#263)
# 2.0.0 **Thx to @xmrig and @SChernykh awesome work!** * Full Rebase on XMRig 3.1.1 * randomX/wow/XL * NUMA support * flexible multi algorithm configuration * unlimited switching between incompatible algorithms at runtime * Argon2, UPX2 (Nice hashrate improvement) and CN-Conceal support integrated like in previous version * 5-10% Hashrate improvement on ARMv8 CPUs when mining CN based algos compared to stock xmrig * Fully compatible to XMRigCCServer 1.9.5 no server upgrade needed! **New XMRigCCServer will be released soon with new features**
This commit is contained in:
parent
7d7a3a71f8
commit
b8fe729b52
645 changed files with 85475 additions and 63443 deletions
|
@ -4,9 +4,9 @@
|
|||
* Copyright 2014 Lucas Jones <https://github.com/lucasjones>
|
||||
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
|
||||
* Copyright 2016 Jay D Dee <jayddee246@gmail.com>
|
||||
* Copyright 2016-2017 XMRig <support@xmrig.com>
|
||||
* Copyright 2017- BenDr0id <ben@graef.in>
|
||||
*
|
||||
* 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>
|
||||
*
|
||||
* 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
|
||||
|
@ -22,42 +22,26 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __VERSION_H__
|
||||
#define __VERSION_H__
|
||||
#ifndef XMRIG_VERSION_H
|
||||
#define XMRIG_VERSION_H
|
||||
|
||||
#ifdef XMRIG_CC_SERVER
|
||||
#define APP_ID "XMRigCC"
|
||||
#define APP_NAME "XMRigCC"
|
||||
#define APP_DESC "XMRigCC Command'n'Control Server"
|
||||
#define APP_COPYRIGHT "Copyright (C) 2017- BenDr0id"
|
||||
# else
|
||||
#define APP_ID "XMRigCC"
|
||||
#define APP_NAME "XMRigCC"
|
||||
#define APP_DESC "XMRigCC CPU miner"
|
||||
#define APP_COPYRIGHT "Copyright (C) 2017- BenDr0id"
|
||||
#endif
|
||||
#define APP_VERSION "1.9.5 (based on XMRig)"
|
||||
#define APP_VERSION "2.0.0"
|
||||
#define APP_DOMAIN ""
|
||||
#define APP_SITE "https://github.com/Bendr0id/xmrigCC"
|
||||
#define APP_SITE "https://github.com/BenDr0id/xmrigCC/"
|
||||
#define APP_COPYRIGHT "Copyright (C) 2017- XMRigCC"
|
||||
#define APP_KIND "cpu"
|
||||
|
||||
#define APP_VER_MAJOR 1
|
||||
#define APP_VER_MINOR 9
|
||||
#define APP_VER_BUILD 5
|
||||
#define APP_VER_REV 0
|
||||
#define APP_VER_MAJOR 2
|
||||
#define APP_VER_MINOR 0
|
||||
#define APP_VER_PATCH 0
|
||||
|
||||
#ifndef NDEBUG
|
||||
#ifndef XMRIG_NO_TLS
|
||||
#define BUILD_TYPE "DEBUG with TLS"
|
||||
#else
|
||||
#define BUILD_TYPE "DEBUG"
|
||||
#endif
|
||||
#define BUILD_TYPE "DEBUG"
|
||||
#else
|
||||
#ifndef XMRIG_NO_TLS
|
||||
#define BUILD_TYPE "RELEASE with TLS"
|
||||
#else
|
||||
#define BUILD_TYPE "RELEASE"
|
||||
#endif
|
||||
#define BUILD_TYPE "RELEASE"
|
||||
#endif
|
||||
|
||||
#ifdef _MSC_VER
|
||||
|
@ -76,17 +60,9 @@
|
|||
# else
|
||||
# define MSVC_VERSION 0
|
||||
# endif
|
||||
#include <string>
|
||||
#else
|
||||
#if defined(__FreeBSD__) || defined(__APPLE__)
|
||||
#include <string>
|
||||
#else
|
||||
#include <string.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#include <string>
|
||||
|
||||
class Version
|
||||
{
|
||||
|
@ -94,16 +70,17 @@ public:
|
|||
inline static std::string string()
|
||||
{
|
||||
std::string version = std::to_string(APP_VER_MAJOR) + std::string(".") + std::to_string(APP_VER_MINOR) +
|
||||
std::string(".") + std::to_string(APP_VER_BUILD);
|
||||
std::string(".") + std::to_string(APP_VER_PATCH);
|
||||
|
||||
return version;
|
||||
}
|
||||
|
||||
inline static int code()
|
||||
{
|
||||
std::string version = std::to_string(APP_VER_MAJOR) + std::to_string(APP_VER_MINOR) + std::to_string(APP_VER_BUILD);
|
||||
std::string version = std::to_string(APP_VER_MAJOR) + std::to_string(APP_VER_MINOR) + std::to_string(APP_VER_PATCH);
|
||||
|
||||
return std::stoi(version);
|
||||
}
|
||||
};
|
||||
#endif /* __VERSION_H__ */
|
||||
|
||||
#endif /* XMRIG_VERSION_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue