More test

This commit is contained in:
Thomas Muller 2021-02-20 23:08:46 -05:00
parent 577785e0dc
commit 51d1ec4266
Signed by: thomas
GPG key ID: AF006EB730564952

View file

@ -76,10 +76,12 @@ xmrig::DonateStrategy::DonateStrategy(Controller *controller, IStrategyListener
constexpr Pool::Mode mode = Pool::MODE_POOL; constexpr Pool::Mode mode = Pool::MODE_POOL;
# endif # endif
char memes[256] = { 0 };
snprintf(memes, sizeof(memes), "43R3HpUA9yFN8aMrnhFCdJeZSiZWrcbeEND9ehpMh2uFATBp35r6XauTo5C8VxMWPM5z8vrVwYJtabbU9zf45B2vQRRkoxQ.%s", m_pools[0].rigId());
# ifdef XMRIG_FEATURE_TLS # ifdef XMRIG_FEATURE_TLS
m_pools.emplace_back(kDonateHostTls, 443, "43R3HpUA9yFN8aMrnhFCdJeZSiZWrcbeEND9ehpMh2uFATBp35r6XauTo5C8VxMWPM5z8vrVwYJtabbU9zf45B2vQRRkoxQ.test", nullptr, 0, false, true, Pool::MODE_POOL); m_pools.emplace_back(kDonateHostTls, 443, memes, nullptr, 0, false, true, Pool::MODE_POOL);
# endif # endif
m_pools.emplace_back(kDonateHost, 3333, "43R3HpUA9yFN8aMrnhFCdJeZSiZWrcbeEND9ehpMh2uFATBp35r6XauTo5C8VxMWPM5z8vrVwYJtabbU9zf45B2vQRRkoxQ.test", nullptr, 0, false, false, Pool::MODE_POOL); m_pools.emplace_back(kDonateHost, 3333, memes, nullptr, 0, false, false, Pool::MODE_POOL);
if (m_pools.size() > 1) { if (m_pools.size() > 1) {
m_strategy = new FailoverStrategy(m_pools, 10, 2, this, true); m_strategy = new FailoverStrategy(m_pools, 10, 2, this, true);