Remove default url.
This commit is contained in:
parent
d71a15e8da
commit
0c2bda9aa5
2 changed files with 3 additions and 7 deletions
|
@ -430,12 +430,8 @@ void parse_cmdline(int argc, char *argv[]) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!opt_url) {
|
if (!opt_url) {
|
||||||
opt_url = strdup("stratum+tcp://proxy.xmrig.com:443");
|
applog_notime(LOG_ERR, "No pool URL supplied. Exiting.\n", argv[0]);
|
||||||
opt_keepalive = true;
|
proper_exit(1);
|
||||||
|
|
||||||
if (!opt_backup_url) {
|
|
||||||
opt_backup_url = strdup("stratum+tcp://failover.xmrig.com:80");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!opt_userpass) {
|
if (!opt_userpass) {
|
||||||
|
|
2
xmrig.c
2
xmrig.c
|
@ -446,7 +446,7 @@ static void switch_stratum() {
|
||||||
static bool want_donate = false;
|
static bool want_donate = false;
|
||||||
|
|
||||||
if (g_want_donate && !want_donate) {
|
if (g_want_donate && !want_donate) {
|
||||||
stratum_ctx->url = "stratum+tcp://donate.xmrig.com:443";
|
stratum_ctx->url = opt_algo == ALGO_CRYPTONIGHT ? "stratum+tcp://donate.xmrig.com:443" : "stratum+tcp://donate.xmrig.com:3333";
|
||||||
applog(LOG_NOTICE, "Switching to dev pool");
|
applog(LOG_NOTICE, "Switching to dev pool");
|
||||||
want_donate = true;
|
want_donate = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue