mirror of
https://github.com/GOSTSec/sgminer
synced 2025-03-10 12:41:02 +00:00
Display failover only mode in pool menu and allow it to be toggled live.
This commit is contained in:
parent
1a041668a5
commit
4efa31d2e7
@ -3090,6 +3090,7 @@ retry:
|
|||||||
strategies[pool_strategy]);
|
strategies[pool_strategy]);
|
||||||
if (pool_strategy == POOL_ROTATE)
|
if (pool_strategy == POOL_ROTATE)
|
||||||
wlogprint("Set to rotate every %d minutes\n", opt_rotate_period);
|
wlogprint("Set to rotate every %d minutes\n", opt_rotate_period);
|
||||||
|
wlogprint("[F]ailover only %s\n", opt_fail_only ? "enabled" : "disabled");
|
||||||
wlogprint("[A]dd pool [R]emove pool [D]isable pool [E]nable pool\n");
|
wlogprint("[A]dd pool [R]emove pool [D]isable pool [E]nable pool\n");
|
||||||
wlogprint("[C]hange management strategy [S]witch pool [I]nformation\n");
|
wlogprint("[C]hange management strategy [S]witch pool [I]nformation\n");
|
||||||
wlogprint("Or press any other key to continue\n");
|
wlogprint("Or press any other key to continue\n");
|
||||||
@ -3183,6 +3184,9 @@ retry:
|
|||||||
pool = pools[selected];
|
pool = pools[selected];
|
||||||
display_pool_summary(pool);
|
display_pool_summary(pool);
|
||||||
goto retry;
|
goto retry;
|
||||||
|
} else if (!strncasecmp(&input, "f", 1)) {
|
||||||
|
opt_fail_only ^= true;
|
||||||
|
goto updated;
|
||||||
} else
|
} else
|
||||||
clear_logwin();
|
clear_logwin();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user