Browse Source

Do not enable the pool disable on reject feature unless explicitly enabled with --disable-rejecting.

nfactor-troky
Con Kolivas 12 years ago
parent
commit
73b7d7b0c9
  1. 2
      README
  2. 9
      cgminer.c

2
README

@ -145,6 +145,7 @@ Options for both config file and command line:
--benchmark Run cgminer in benchmark mode - produces no shares --benchmark Run cgminer in benchmark mode - produces no shares
--compact Use compact display without per device statistics --compact Use compact display without per device statistics
--debug|-D Enable debug output --debug|-D Enable debug output
--disable-rejecting Automatically disable pools that continually reject shares
--expiry|-E <arg> Upper bound on how many seconds after getting work we consider a share from it stale (default: 120) --expiry|-E <arg> Upper bound on how many seconds after getting work we consider a share from it stale (default: 120)
--failover-only Don't leak work to backup pools when primary pool is lagging --failover-only Don't leak work to backup pools when primary pool is lagging
--fix-protocol Do not redirect to a different getwork protocol (eg. stratum) --fix-protocol Do not redirect to a different getwork protocol (eg. stratum)
@ -153,7 +154,6 @@ Options for both config file and command line:
--log|-l <arg> Interval in seconds between log output (default: 5) --log|-l <arg> Interval in seconds between log output (default: 5)
--monitor|-m <arg> Use custom pipe cmd for output messages --monitor|-m <arg> Use custom pipe cmd for output messages
--net-delay Impose small delays in networking to not overload slow routers --net-delay Impose small delays in networking to not overload slow routers
--no-pool-disable Do not automatically disable pools that continually reject shares
--no-submit-stale Don't submit shares if they are detected as stale --no-submit-stale Don't submit shares if they are detected as stale
--pass|-p <arg> Password for bitcoin JSON-RPC server --pass|-p <arg> Password for bitcoin JSON-RPC server
--per-device-stats Force verbose mode and output per-device statistics --per-device-stats Force verbose mode and output per-device statistics

9
cgminer.c

@ -130,7 +130,7 @@ int opt_api_port = 4028;
bool opt_api_listen; bool opt_api_listen;
bool opt_api_network; bool opt_api_network;
bool opt_delaynet; bool opt_delaynet;
bool opt_disable_pool = true; bool opt_disable_pool;
char *opt_icarus_options = NULL; char *opt_icarus_options = NULL;
char *opt_icarus_timing = NULL; char *opt_icarus_timing = NULL;
bool opt_worktime; bool opt_worktime;
@ -878,6 +878,9 @@ static struct opt_table opt_config_table[] = {
opt_hidden opt_hidden
#endif #endif
), ),
OPT_WITHOUT_ARG("--disable-rejecting",
opt_set_bool, &opt_disable_pool,
"Automatically disable pools that continually reject shares"),
#if defined(WANT_CPUMINE) && (defined(HAVE_OPENCL) || defined(USE_FPGA)) #if defined(WANT_CPUMINE) && (defined(HAVE_OPENCL) || defined(USE_FPGA))
OPT_WITHOUT_ARG("--enable-cpu|-C", OPT_WITHOUT_ARG("--enable-cpu|-C",
opt_set_bool, &opt_usecpu, opt_set_bool, &opt_usecpu,
@ -976,10 +979,10 @@ static struct opt_table opt_config_table[] = {
#else #else
opt_hidden opt_hidden
#endif #endif
), ),
OPT_WITHOUT_ARG("--no-pool-disable", OPT_WITHOUT_ARG("--no-pool-disable",
opt_set_invbool, &opt_disable_pool, opt_set_invbool, &opt_disable_pool,
"Do not automatically disable pools that continually reject shares"), opt_hidden),
OPT_WITHOUT_ARG("--no-restart", OPT_WITHOUT_ARG("--no-restart",
opt_set_invbool, &opt_restart, opt_set_invbool, &opt_restart,
#ifdef HAVE_OPENCL #ifdef HAVE_OPENCL

Loading…
Cancel
Save