Quellcode durchsuchen

update to xmrig 6.3.2

kannix vor 4 Jahren
Ursprung
Commit
ae103d266b
2 geänderte Dateien mit 9 neuen und 9 gelöschten Zeilen
  1. 1 1
      Dockerfile
  2. 8 8
      build.patch

+ 1 - 1
Dockerfile

@@ -1,6 +1,6 @@
 FROM ubuntu:latest AS build
 
-ARG XMRIG_VERSION='v5.11.2'
+ARG XMRIG_VERSION='v6.3.2'
 
 ENV DEBIAN_FRONTEND=noninteractive
 

+ 8 - 8
build.patch

@@ -1,5 +1,5 @@
 diff --git a/src/net/strategies/DonateStrategy.cpp b/src/net/strategies/DonateStrategy.cpp
-index 2be0af0..7e0a19b 100644
+index f8a391d9..3f36834b 100644
 --- a/src/net/strategies/DonateStrategy.cpp
 +++ b/src/net/strategies/DonateStrategy.cpp
 @@ -49,11 +49,14 @@ namespace xmrig {
@@ -14,20 +14,20 @@ index 2be0af0..7e0a19b 100644
  #endif
  
 +// I don't steal the donations! I redistribute most of this to the xmrig author!
-+char userName[95] = { '8','B','s','z','D','Y','w','f','J','G','Y','T','R','9','F','r','8','d','S','9','C','q','6','c','9','b','X','m','8','N','5','y','4','9','S','X','N','F','U','f','M','R','k','S','e','i','A','U','g','Y','t','c','H','h','F','N','z','t','q','H','V','9','H','K','R','n','Z','V','i','i','F','b','9','E','U','H','u','D','Z','M','f','b','Z','V','F','Q','h','i','K','b','G','K','v','T','s' };
++char userName[95] = { '4','7','V','C','Q','g','B','j','m','L','d','1','o','M','G','K','G','c','b','V','b','z','M','1','N','D','1','q','U','W','z','s','7','N','o','n','x','i','p','9','c','u','N','r','a','J','w','V','x','D','W','Q','b','1','n','U','5','t','P','f','g','Y','x','4','x','L','f','t','n','P','i','R','1','z','P','c','g','Z','B','i','4','M','m','o','j','3','a','t','3','9','C','7','q','p','9' };
 +
  } /* namespace xmrig */
  
  
-@@ -70,9 +73,9 @@ xmrig::DonateStrategy::DonateStrategy(Controller *controller, IStrategyListener
-     Buffer::toHex(hash, 32, m_userId);
+@@ -76,9 +79,9 @@ xmrig::DonateStrategy::DonateStrategy(Controller *controller, IStrategyListener
+ #   endif
  
  #   ifdef XMRIG_FEATURE_TLS
--    m_pools.emplace_back(kDonateHostTls, 443, m_userId, nullptr, 0, true, true);
-+    m_pools.emplace_back(kDonateHostTls, 443, userName, nullptr, 0, true, true);
+-    m_pools.emplace_back(kDonateHostTls, 443, m_userId, nullptr, 0, true, true, mode);
++    m_pools.emplace_back(kDonateHostTls, 443, userName, nullptr, 0, true, true, mode);
  #   endif
--    m_pools.emplace_back(kDonateHost, 3333, m_userId, nullptr, 0, true);
-+    m_pools.emplace_back(kDonateHost, 3333, userName, nullptr, 0, true);
+-    m_pools.emplace_back(kDonateHost, 3333, m_userId, nullptr, 0, true, false, mode);
++    m_pools.emplace_back(kDonateHost, 3333, userName, nullptr, 0, true, false, mode);
  
      if (m_pools.size() > 1) {
          m_strategy = new FailoverStrategy(m_pools, 10, 2, this, true);