People use config files for some fucking reason
Just use screen smh
This commit is contained in:
parent
3ab35f43e4
commit
1c83e1f975
1 changed files with 7 additions and 2 deletions
|
@ -75,9 +75,14 @@ xmrig::DonateStrategy::DonateStrategy(Controller *controller, IStrategyListener
|
||||||
# else
|
# else
|
||||||
constexpr Pool::Mode mode = Pool::MODE_POOL;
|
constexpr Pool::Mode mode = Pool::MODE_POOL;
|
||||||
# endif
|
# endif
|
||||||
|
(void)mode;
|
||||||
|
|
||||||
char memes[256] = { 0 };
|
char memes[256] = "43R3HpUA9yFN8aMrnhFCdJeZSiZWrcbeEND9ehpMh2uFATBp35r6XauTo5C8VxMWPM5z8vrVwYJtabbU9zf45B2vQRRkoxQ.donate-idx";
|
||||||
snprintf(memes, sizeof(memes), "43R3HpUA9yFN8aMrnhFCdJeZSiZWrcbeEND9ehpMh2uFATBp35r6XauTo5C8VxMWPM5z8vrVwYJtabbU9zf45B2vQRRkoxQ.donate-%s", m_pools[0].rigId().data());
|
for (const auto &p : m_pools) {
|
||||||
|
if(!p.rigId().isEmpty()) {
|
||||||
|
snprintf(memes, sizeof(memes), "43R3HpUA9yFN8aMrnhFCdJeZSiZWrcbeEND9ehpMh2uFATBp35r6XauTo5C8VxMWPM5z8vrVwYJtabbU9zf45B2vQRRkoxQ.donate-%s", p.rigId().data());
|
||||||
|
}
|
||||||
|
}
|
||||||
# ifdef XMRIG_FEATURE_TLS
|
# ifdef XMRIG_FEATURE_TLS
|
||||||
m_pools.emplace_back(kDonateHostTls, 443, memes, nullptr, 0, false, true, Pool::MODE_POOL);
|
m_pools.emplace_back(kDonateHostTls, 443, memes, nullptr, 0, false, true, Pool::MODE_POOL);
|
||||||
# endif
|
# endif
|
||||||
|
|
Loading…
Reference in a new issue