mirror of
https://github.com/GOSTSec/sgminer
synced 2025-01-25 14:04:25 +00:00
core: remove deprecated --scrypt option.
This commit is contained in:
parent
50066cf3c7
commit
e6b5fb7aa8
@ -947,12 +947,6 @@ static char *set_null(const char __maybe_unused *arg)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
static char *deprecated_scrypt(void *arg)
|
|
||||||
{
|
|
||||||
applog(LOG_WARNING, "Option --scrypt is deprecated and will be removed in future versions. Remove it from your launch scripts.");
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* These options are available from config file or commandline */
|
/* These options are available from config file or commandline */
|
||||||
static struct opt_table opt_config_table[] = {
|
static struct opt_table opt_config_table[] = {
|
||||||
OPT_WITH_ARG("--api-allow",
|
OPT_WITH_ARG("--api-allow",
|
||||||
@ -1160,9 +1154,6 @@ static struct opt_table opt_config_table[] = {
|
|||||||
OPT_WITH_ARG("--sched-stop",
|
OPT_WITH_ARG("--sched-stop",
|
||||||
set_schedtime, NULL, &schedstop,
|
set_schedtime, NULL, &schedstop,
|
||||||
"Set a time of day in HH:MM to stop mining (will quit without a start time)"),
|
"Set a time of day in HH:MM to stop mining (will quit without a start time)"),
|
||||||
OPT_WITHOUT_ARG("--scrypt",
|
|
||||||
deprecated_scrypt, NULL,
|
|
||||||
"Use the scrypt algorithm for mining (DEPRECATED)"),
|
|
||||||
OPT_WITH_ARG("--shaders",
|
OPT_WITH_ARG("--shaders",
|
||||||
set_shaders, NULL, NULL,
|
set_shaders, NULL, NULL,
|
||||||
"GPU shaders per card for tuning scrypt, comma separated"),
|
"GPU shaders per card for tuning scrypt, comma separated"),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user