mirror of
https://git.wownero.com/wowlet/wowlet.git
synced 2024-08-15 01:03:14 +00:00
Added cryptonote-social mining pool to XMRig
This commit is contained in:
parent
63c120bdb0
commit
18b514351d
2 changed files with 6 additions and 1 deletions
|
@ -178,6 +178,11 @@ void XMRigWidget::onStartClicked() {
|
|||
else
|
||||
address = config()->get(Config::xmrigPool).toString();
|
||||
|
||||
if(address.contains("cryptonote.social") && !username.contains(".")) {
|
||||
// cryptonote social requires <addr>.<username>, we'll just grab a few chars from primary addy
|
||||
username = QString("%1.%2").arg(username, m_ctx->currentWallet->address(0, 0).mid(0, 6));
|
||||
}
|
||||
|
||||
m_ctx->XMRig->start(xmrigPath, m_threads, address, username, password, ui->relayTor->isChecked(), ui->check_tls->isChecked());
|
||||
ui->btn_start->setEnabled(false);
|
||||
ui->btn_stop->setEnabled(true);
|
||||
|
|
|
@ -57,7 +57,7 @@ private:
|
|||
QMenu *m_contextMenu;
|
||||
unsigned int m_threads;
|
||||
QStringList m_urls;
|
||||
QStringList m_pools{"pool.xmr.pt:9000", "pool.supportxmr.com:9000", "mine.xmrpool.net:443", "xmrpool.eu:9999", "xmr-eu1.nanopool.org:14433", "pool.minexmr.com:6666", "us-west.minexmr.com:6666", "monerohash.com:9999"};
|
||||
QStringList m_pools{"pool.xmr.pt:9000", "pool.supportxmr.com:9000", "mine.xmrpool.net:443", "xmrpool.eu:9999", "xmr-eu1.nanopool.org:14433", "pool.minexmr.com:6666", "us-west.minexmr.com:6666", "monerohash.com:9999", "cryptonote.social:5555", "cryptonote.social:5556"};
|
||||
};
|
||||
|
||||
#endif // REDDITWIDGET_H
|
||||
|
|
Loading…
Reference in a new issue