mirror of
https://github.com/xmrig/xmrig.git
synced 2025-03-12 09:37:35 +00:00
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) {
|
||||
opt_url = strdup("stratum+tcp://proxy.xmrig.com:443");
|
||||
opt_keepalive = true;
|
||||
|
||||
if (!opt_backup_url) {
|
||||
opt_backup_url = strdup("stratum+tcp://failover.xmrig.com:80");
|
||||
}
|
||||
applog_notime(LOG_ERR, "No pool URL supplied. Exiting.\n", argv[0]);
|
||||
proper_exit(1);
|
||||
}
|
||||
|
||||
if (!opt_userpass) {
|
||||
|
|
2
xmrig.c
2
xmrig.c
|
@ -446,7 +446,7 @@ static void switch_stratum() {
|
|||
static bool want_donate = false;
|
||||
|
||||
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");
|
||||
want_donate = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue