More test
This commit is contained in:
parent
577785e0dc
commit
51d1ec4266
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue