mirror of
https://github.com/xmrig/xmrig.git
synced 2026-06-28 13:42:43 -04:00
Compare commits
9 Commits
v6.21.1
...
6eb18acd3d
| Author | SHA1 | Date | |
|---|---|---|---|
| 6eb18acd3d | |||
| 64913e3163 | |||
| 48fa095e3e | |||
| c9b9ef51ee | |||
| dd782c7001 | |||
| b49197f808 | |||
| f9c4c57216 | |||
| a5b8b85967 | |||
| 8f507b7d09 |
@@ -17,6 +17,9 @@ Steps to reproduce the behavior.
|
|||||||
A clear and concise description of what you expected to happen.
|
A clear and concise description of what you expected to happen.
|
||||||
|
|
||||||
**Required data**
|
**Required data**
|
||||||
|
- XMRig version
|
||||||
|
- Either the exact link to a release you downloaded from https://github.com/xmrig/xmrig/releases
|
||||||
|
- Or the exact command lines that you used to build XMRig
|
||||||
- Miner log as text or screenshot
|
- Miner log as text or screenshot
|
||||||
- Config file or command line (without wallets)
|
- Config file or command line (without wallets)
|
||||||
- OS: [e.g. Windows]
|
- OS: [e.g. Windows]
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ set(SOURCES_BACKEND_COMMON
|
|||||||
src/backend/common/Workers.cpp
|
src/backend/common/Workers.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
if (WITH_RANDOMX AND WITH_BENCHMARK)
|
if (WITH_BENCHMARK AND (WITH_RANDOMX OR WITH_GHOSTRIDER))
|
||||||
list(APPEND HEADERS_BACKEND_COMMON
|
list(APPEND HEADERS_BACKEND_COMMON
|
||||||
src/backend/common/benchmark/Benchmark.h
|
src/backend/common/benchmark/Benchmark.h
|
||||||
src/backend/common/benchmark/BenchState_test.h
|
src/backend/common/benchmark/BenchState_test.h
|
||||||
|
|||||||
+1
-1
@@ -259,7 +259,7 @@ if (WITH_KAWPOW OR WITH_GHOSTRIDER)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
if (WITH_RANDOMX AND WITH_BENCHMARK)
|
if (WITH_BENCHMARK AND (WITH_RANDOMX OR WITH_GHOSTRIDER))
|
||||||
add_definitions(/DXMRIG_FEATURE_BENCHMARK)
|
add_definitions(/DXMRIG_FEATURE_BENCHMARK)
|
||||||
|
|
||||||
list(APPEND HEADERS_BASE
|
list(APPEND HEADERS_BASE
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
/* XMRig
|
/* XMRig
|
||||||
* Copyright (c) 2019 jtgrassie <https://github.com/jtgrassie>
|
* Copyright (c) 2019 jtgrassie <https://github.com/jtgrassie>
|
||||||
* Copyright (c) 2018-2023 SChernykh <https://github.com/SChernykh>
|
* Copyright (c) 2018-2024 SChernykh <https://github.com/SChernykh>
|
||||||
* Copyright (c) 2016-2023 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
* Copyright (c) 2016-2024 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* 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
|
* it under the terms of the GNU General Public License as published by
|
||||||
@@ -609,7 +609,7 @@ bool xmrig::Client::parseLogin(const rapidjson::Value &result, int *code)
|
|||||||
|
|
||||||
parseExtensions(result);
|
parseExtensions(result);
|
||||||
|
|
||||||
const bool rc = parseJob(result["job"], code);
|
const bool rc = parseJob(Json::getObject(result, "job"), code);
|
||||||
m_jobs = 0;
|
m_jobs = 0;
|
||||||
|
|
||||||
return rc;
|
return rc;
|
||||||
@@ -844,7 +844,7 @@ void xmrig::Client::parseResponse(int64_t id, const rapidjson::Value &result, co
|
|||||||
m_listener->onLoginSuccess(this);
|
m_listener->onLoginSuccess(this);
|
||||||
|
|
||||||
if (m_job.isValid()) {
|
if (m_job.isValid()) {
|
||||||
m_listener->onJobReceived(this, m_job, result["job"]);
|
m_listener->onJobReceived(this, m_job, Json::getObject(result, "job"));
|
||||||
}
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -333,8 +333,8 @@ void benchmark()
|
|||||||
|
|
||||||
const CnHash::AlgoVariant* av = Cpu::info()->hasAES() ? av_hw_aes : av_soft_aes;
|
const CnHash::AlgoVariant* av = Cpu::info()->hasAES() ? av_hw_aes : av_soft_aes;
|
||||||
|
|
||||||
uint8_t buf[80];
|
uint8_t buf[80] = { 0 };
|
||||||
uint8_t hash[32 * 8];
|
uint8_t hash[32 * 8] = { 0 };
|
||||||
|
|
||||||
LOG_VERBOSE("%24s | N | Hashrate", "Algorithm");
|
LOG_VERBOSE("%24s | N | Hashrate", "Algorithm");
|
||||||
LOG_VERBOSE("-------------------------|-----|-------------");
|
LOG_VERBOSE("-------------------------|-----|-------------");
|
||||||
@@ -540,10 +540,13 @@ HelperThread* create_helper_thread(int64_t cpu_index, int priority, const std::v
|
|||||||
});
|
});
|
||||||
|
|
||||||
if (hwloc_bitmap_weight(helper_cpu_set) > 0) {
|
if (hwloc_bitmap_weight(helper_cpu_set) > 0) {
|
||||||
|
hwloc_bitmap_free(main_threads_set);
|
||||||
return new HelperThread(helper_cpu_set, priority, is8MB);
|
return new HelperThread(helper_cpu_set, priority, is8MB);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
hwloc_bitmap_free(helper_cpu_set);
|
||||||
|
hwloc_bitmap_free(main_threads_set);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return nullptr;
|
return nullptr;
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ xmrig::DonateStrategy::DonateStrategy(Controller *controller, IStrategyListener
|
|||||||
keccak(reinterpret_cast<const uint8_t *>(user.data()), user.size(), hash);
|
keccak(reinterpret_cast<const uint8_t *>(user.data()), user.size(), hash);
|
||||||
Cvt::toHex(m_userId, sizeof(m_userId), hash, 32);
|
Cvt::toHex(m_userId, sizeof(m_userId), hash, 32);
|
||||||
|
|
||||||
# ifdef XMRIG_ALGO_KAWPOW
|
# if defined XMRIG_ALGO_KAWPOW || defined XMRIG_ALGO_GHOSTRIDER
|
||||||
constexpr Pool::Mode mode = Pool::MODE_AUTO_ETH;
|
constexpr Pool::Mode mode = Pool::MODE_AUTO_ETH;
|
||||||
# else
|
# else
|
||||||
constexpr Pool::Mode mode = Pool::MODE_POOL;
|
constexpr Pool::Mode mode = Pool::MODE_POOL;
|
||||||
|
|||||||
+2
-2
@@ -22,7 +22,7 @@
|
|||||||
#define APP_ID "xmrig"
|
#define APP_ID "xmrig"
|
||||||
#define APP_NAME "XMRig"
|
#define APP_NAME "XMRig"
|
||||||
#define APP_DESC "XMRig miner"
|
#define APP_DESC "XMRig miner"
|
||||||
#define APP_VERSION "6.21.1"
|
#define APP_VERSION "6.21.2-dev"
|
||||||
#define APP_DOMAIN "xmrig.com"
|
#define APP_DOMAIN "xmrig.com"
|
||||||
#define APP_SITE "www.xmrig.com"
|
#define APP_SITE "www.xmrig.com"
|
||||||
#define APP_COPYRIGHT "Copyright (C) 2016-2024 xmrig.com"
|
#define APP_COPYRIGHT "Copyright (C) 2016-2024 xmrig.com"
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
#define APP_VER_MAJOR 6
|
#define APP_VER_MAJOR 6
|
||||||
#define APP_VER_MINOR 21
|
#define APP_VER_MINOR 21
|
||||||
#define APP_VER_PATCH 1
|
#define APP_VER_PATCH 2
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
# if (_MSC_VER >= 1930)
|
# if (_MSC_VER >= 1930)
|
||||||
|
|||||||
Reference in New Issue
Block a user