Академический Документы
Профессиональный Документы
Культура Документы
6
=====================================================================
Forked from github.com/ethereum/cpp-ethereum
CUDA kernel ported from Tim Hughes' OpenCL kernel
With contributions from nicehash, nerdralph, RoBiK and sp_
Please consider a donation to:
ETH: 0xeb9310b185455f863f526dab3d245809f6854b4d
Usage ethminer [OPTIONS]
Options:
Work farming mode:
-F,--farm <url> Put into mining farm mode with the work server at URL (defa
ult: http://127.0.0.1:8545)
-FF,-FO, --farm-failover, --stratum-failover <url> Failover getwork/stratum
URL (default: disabled)
--farm-retries <n> Number of retries until switch to failover (default:
3)
-S, --stratum <host:port> Put into stratum mode with the stratum server
at host:port
-FS, --failover-stratum <host:port> Failover stratum server at host:por
t
-O, --userpass <username.workername:password> Stratum login credentials
-FO, --failover-userpass <username.workername:password> Failover stratum log
in credentials (optional, will use normal credentials when omitted)
--work-timeout <n> reconnect/failover after n seconds of working on the same
(stratum) job. Defaults to 180. Don't set lower than max. avg. block time
-SV, --stratum-version <n> Stratum client version. Defaults to 1 (async cli
ent). Use 2 to test new synchronous client.
-ES, --ethereum-stratum Use EthereumStratum/1.0.0 mode.
--farm-recheck <n> Leave n ms between checks for changed work (default: 500
). When using stratum, use a high value (i.e. 2000) to get more stable hashrate
output
Benchmarking mode:
-M [<n>],--benchmark [<n>] Benchmark for mining and exit; Optionally specify
block number to benchmark against specific DAG.
--benchmark-warmup <seconds> Set the duration of warmup for the benchmark t
ests (default: 3).
--benchmark-trial <seconds> Set the duration for each trial for the benchma
rk tests (default: 3).
--benchmark-trials <n> Set the duration of warmup for the benchmark tests (
default: 5).
Simulation mode:
-Z [<n>],--simulation [<n>] Mining test mode. Used to validate kernel optimi
zations. Optionally specify block number.
Mining configuration:
-G,--opencl When mining use the GPU via OpenCL.
-U,--cuda When mining use the GPU via CUDA.
-X,--cuda-opencl Use OpenCL + CUDA in a system with mixed AMD/Nvidia cards.
May require setting --opencl-platform 1
--opencl-platform <n> When mining using -G/--opencl use OpenCL platform n (
default: 0).
--opencl-device <n> When mining using -G/--opencl use OpenCL device n (defa
ult: 0).
--opencl-devices <0 1 ..n> Select which OpenCL devices to mine on. Default i
s to use all
-t, --mining-threads <n> Limit number of CPU/GPU miners to n (default: use e
verything available on selected platform)