配置文件是:
start.bat这个文件是读取config.json 做为配置文件;
全部参数配置
-a, --algo=ALGO 指定要使用的算法
cryptonight
cryptonight-lite
cryptonight-heavy
-o, --url=URL 矿池地址
-O, --userpass=U:P 需要使用注册的矿池
-u, --user=USERNAME 挖矿用户名,一搬就是钱包地址
-p, --pass=PASSWORD 矿池密码,一般为x
--rig-id=ID 矿池统计ID,需要矿池支技
-k, --keepalive 发送keepalived数据包以防止超时(需要池支持)
--nicehash 启用nicehash.com支持
--tls 启用SSL / TLS支持(需要池支持)
--tls-fingerprint=F 矿池TLS证书指纹,如果设置启用严格证书固定
-r, --retries=N 切换到备份服务器之前重试的N次(默认值:5)
-R, --retry-pause=N 在重试之间暂停N次(默认值:5)
--cuda-devices=N list of CUDA devices to use.
--cuda-launch=TxB list of launch config for the CryptoNight kernel
--cuda-max-threads=N limit maximum count of GPU threads in automatic mode
--cuda-bfactor=[0-12] run CryptoNight core kernel in smaller pieces
--cuda-bsleep=N insert a delay of N microseconds between kernel launches
--cuda-affinity=N affine GPU threads to a CPU
--no-color disable colored output
--variant algorithm PoW variant
--donate-level=N 抽水设置默认5%可调1%(100分钟内5分钟)
--user-agent set custom user-agent string for pool
-B, --background run the miner in the background
-c, --config=FILE load a JSON-format configuration file
-l, --log-file=FILE log all output to a file
-S, --syslog use system log for output messages
--print-time=N print hashrate report every N seconds
--api-port=N port for the miner API
--api-access-token=T access token for API
--api-worker-id=ID custom worker-id for API
--api-id=ID custom instance ID for API
--api-ipv6 enable IPv6 support for API
--api-no-restricted enable full remote access (only if API token set)
--dry-run test configuration and exit
-h, --help display this help and exit
-V, --version output version information and exit
下载地址: