mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-26 06:00:00 -05:00
Compare commits
2 Commits
v6.21.0
...
6dc50505d9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6dc50505d9 | ||
|
|
6c8098378a |
10
CHANGELOG.md
10
CHANGELOG.md
@@ -1,13 +1,3 @@
|
|||||||
# v6.21.0
|
|
||||||
- [#3302](https://github.com/xmrig/xmrig/pull/3302) [#3312](https://github.com/xmrig/xmrig/pull/3312) Enabled keepalive for Windows (>= Vista).
|
|
||||||
- [#3320](https://github.com/xmrig/xmrig/pull/3320) Added "built for OS/architecture/bits" to "ABOUT".
|
|
||||||
- [#3339](https://github.com/xmrig/xmrig/pull/3339) Added SNI option for TLS connections.
|
|
||||||
- [#3342](https://github.com/xmrig/xmrig/pull/3342) Update `cn_main_loop.asm`.
|
|
||||||
- [#3346](https://github.com/xmrig/xmrig/pull/3346) ARM64 JIT: don't use `x18` register.
|
|
||||||
- [#3348](https://github.com/xmrig/xmrig/pull/3348) Update to latest `sse2neon.h`.
|
|
||||||
- [#3356](https://github.com/xmrig/xmrig/pull/3356) Updated pricing record size for **Zephyr** solo mining.
|
|
||||||
- [#3358](https://github.com/xmrig/xmrig/pull/3358) **Zephyr** solo mining: handle multiple outputs.
|
|
||||||
|
|
||||||
# v6.20.0
|
# v6.20.0
|
||||||
- Added new ARM CPU names.
|
- Added new ARM CPU names.
|
||||||
- [#2394](https://github.com/xmrig/xmrig/pull/2394) Added new CMake options `ARM_V8` and `ARM_V7`.
|
- [#2394](https://github.com/xmrig/xmrig/pull/2394) Added new CMake options `ARM_V8` and `ARM_V7`.
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ option(WITH_VAES "Enable VAES instructions for Cryptonight" ON)
|
|||||||
option(WITH_BENCHMARK "Enable builtin RandomX benchmark and stress test" ON)
|
option(WITH_BENCHMARK "Enable builtin RandomX benchmark and stress test" ON)
|
||||||
option(WITH_SECURE_JIT "Enable secure access to JIT memory" OFF)
|
option(WITH_SECURE_JIT "Enable secure access to JIT memory" OFF)
|
||||||
option(WITH_DMI "Enable DMI/SMBIOS reader" ON)
|
option(WITH_DMI "Enable DMI/SMBIOS reader" ON)
|
||||||
|
option(WITH_AUTO_HUGEPAGE "Enable Automatic setting of nr_hugepages (Linux Only)" ON)
|
||||||
|
|
||||||
option(BUILD_STATIC "Build static binary" OFF)
|
option(BUILD_STATIC "Build static binary" OFF)
|
||||||
option(ARM_V8 "Force ARMv8 (64 bit) architecture, use with caution if automatic detection fails, but you sure it may work" OFF)
|
option(ARM_V8 "Force ARMv8 (64 bit) architecture, use with caution if automatic detection fails, but you sure it may work" OFF)
|
||||||
@@ -181,6 +182,10 @@ else()
|
|||||||
if (XMRIG_OS_ANDROID)
|
if (XMRIG_OS_ANDROID)
|
||||||
set(EXTRA_LIBS pthread rt dl log)
|
set(EXTRA_LIBS pthread rt dl log)
|
||||||
elseif (XMRIG_OS_LINUX)
|
elseif (XMRIG_OS_LINUX)
|
||||||
|
if (WITH_AUTO_HUGEPAGE)
|
||||||
|
add_definitions(/DXMRIG_FEATURE_AUTO_HUGEPAGE)
|
||||||
|
endif()
|
||||||
|
|
||||||
list(APPEND SOURCES_OS
|
list(APPEND SOURCES_OS
|
||||||
src/crypto/common/LinuxMemory.h
|
src/crypto/common/LinuxMemory.h
|
||||||
src/crypto/common/LinuxMemory.cpp
|
src/crypto/common/LinuxMemory.cpp
|
||||||
|
|||||||
@@ -198,7 +198,7 @@ bool xmrig::BlockTemplate::parse(bool hashes)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (m_coin == Coin::ZEPHYR) {
|
if (m_coin == Coin::ZEPHYR) {
|
||||||
uint8_t pricing_record[120];
|
uint8_t pricing_record[24];
|
||||||
ar(pricing_record);
|
ar(pricing_record);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -225,12 +225,8 @@ bool xmrig::BlockTemplate::parse(bool hashes)
|
|||||||
ar(m_height);
|
ar(m_height);
|
||||||
ar(m_numOutputs);
|
ar(m_numOutputs);
|
||||||
|
|
||||||
if (m_coin == Coin::ZEPHYR) {
|
const uint64_t expected_outputs = (m_coin == Coin::ZEPHYR) ? 2 : 1;
|
||||||
if (m_numOutputs < 2) {
|
if (m_numOutputs != expected_outputs) {
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else if (m_numOutputs != 1) {
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -256,25 +252,23 @@ bool xmrig::BlockTemplate::parse(bool hashes)
|
|||||||
ar.skip(asset_type_len);
|
ar.skip(asset_type_len);
|
||||||
ar(m_viewTag);
|
ar(m_viewTag);
|
||||||
|
|
||||||
for (uint64_t k = 1; k < m_numOutputs; ++k) {
|
uint64_t amount2;
|
||||||
uint64_t amount2;
|
ar(amount2);
|
||||||
ar(amount2);
|
|
||||||
|
|
||||||
uint8_t output_type2;
|
uint8_t output_type2;
|
||||||
ar(output_type2);
|
ar(output_type2);
|
||||||
if (output_type2 != 2) {
|
if (output_type2 != 2) {
|
||||||
return false;
|
return false;
|
||||||
}
|
|
||||||
|
|
||||||
Span key2;
|
|
||||||
ar(key2, kKeySize);
|
|
||||||
|
|
||||||
ar(asset_type_len);
|
|
||||||
ar.skip(asset_type_len);
|
|
||||||
|
|
||||||
uint8_t view_tag2;
|
|
||||||
ar(view_tag2);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Span key2;
|
||||||
|
ar(key2, kKeySize);
|
||||||
|
|
||||||
|
ar(asset_type_len);
|
||||||
|
ar.skip(asset_type_len);
|
||||||
|
|
||||||
|
uint8_t view_tag2;
|
||||||
|
ar(view_tag2);
|
||||||
}
|
}
|
||||||
else if (m_outputType == 3) {
|
else if (m_outputType == 3) {
|
||||||
ar(m_viewTag);
|
ar(m_viewTag);
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -60,7 +60,11 @@ bool xmrig::LinuxMemory::reserve(size_t size, uint32_t node, size_t hugePageSize
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# ifdef XMRIG_FEATURE_AUTO_HUGEPAGE
|
||||||
return write_nr_hugepages(node, hugePageSize, std::max<size_t>(nr_hugepages(node, hugePageSize), 0) + (required - available));
|
return write_nr_hugepages(node, hugePageSize, std::max<size_t>(nr_hugepages(node, hugePageSize), 0) + (required - available));
|
||||||
|
# else
|
||||||
|
return false;
|
||||||
|
# endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -22,15 +22,15 @@
|
|||||||
#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.0"
|
#define APP_VERSION "6.20.1-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-2023 xmrig.com"
|
#define APP_COPYRIGHT "Copyright (C) 2016-2023 xmrig.com"
|
||||||
#define APP_KIND "miner"
|
#define APP_KIND "miner"
|
||||||
|
|
||||||
#define APP_VER_MAJOR 6
|
#define APP_VER_MAJOR 6
|
||||||
#define APP_VER_MINOR 21
|
#define APP_VER_MINOR 20
|
||||||
#define APP_VER_PATCH 0
|
#define APP_VER_PATCH 1
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
# if (_MSC_VER >= 1930)
|
# if (_MSC_VER >= 1930)
|
||||||
|
|||||||
Reference in New Issue
Block a user