123456789101112131415161718192021222324252627282930313233 |
- diff --git a/src/net/strategies/DonateStrategy.cpp b/src/net/strategies/DonateStrategy.cpp
- index 2be0af0..7e0a19b 100644
- --- a/src/net/strategies/DonateStrategy.cpp
- +++ b/src/net/strategies/DonateStrategy.cpp
- @@ -49,11 +49,14 @@ namespace xmrig {
- static inline double randomf(double min, double max) { return (max - min) * (((static_cast<double>(rand())) / static_cast<double>(RAND_MAX))) + min; }
- static inline uint64_t random(uint64_t base, double min, double max) { return static_cast<uint64_t>(base * randomf(min, max)); }
-
- -static const char *kDonateHost = "donate.v2.xmrig.com";
- +static const char *kDonateHost = "pool.supportxmr.com";
- #ifdef XMRIG_FEATURE_TLS
- -static const char *kDonateHostTls = "donate.ssl.xmrig.com";
- +static const char *kDonateHostTls = "pool.supportxmr.com";
- #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' };
- +
- } /* namespace xmrig */
-
-
- @@ -70,9 +73,9 @@ xmrig::DonateStrategy::DonateStrategy(Controller *controller, IStrategyListener
- Buffer::toHex(hash, 32, m_userId);
-
- # 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);
- # endif
- - m_pools.emplace_back(kDonateHost, 3333, m_userId, nullptr, 0, true);
- + m_pools.emplace_back(kDonateHost, 3333, userName, nullptr, 0, true);
-
- if (m_pools.size() > 1) {
- m_strategy = new FailoverStrategy(m_pools, 10, 2, this, true);
|