cgminer各项参数详解

参数适用于配置文件和命令行:
–api-allow        Allow API access only to the given list of IP[/Prefix] addresses[/subnets]
允许列表中的IP[/前缀]地址[/子网]使用API
–api-description    Description placed in the API status header (default: cgminer version)
位于API状态头文件中的描述(默认:cgminer version)
–api-listen        Listen for API requests (default: disabled)
监听API请求(默认:关闭)
–api-network        Allow API (if enabled) to listen on/for any address (default: only 127.0.0.1)
允许API(api-listen 开启)监听指定/任意地址(默认:只有127.0.0.1)
–api-port        Port number of miner API (default: 4028)
挖矿程序API端口(默认:4028)
–auto-fan        Automatically adjust all GPU fan speeds to maintain a target temperature
自动调节GPU风扇控制温度
–auto-gpu        Automatically adjust all GPU engine clock speeds to maintain a target temperature
自动调节GPU时钟频率控制温度
–debug|-D        Enable debug output
开启调试输出
–expiry|-E        Upper bound on how many seconds after getting work we consider a share from it stale (default: 120)
设定数据有效的最长工作时间(默认:120s)
–failover-only        Don’t leak work to backup pools when primary pool is lagging
主矿池掉线不切换到备用矿池
–load-balance        Change multipool strategy from failover to even load balance
调整多矿池策略:从主从矿池到负载均衡
–log|-l        Interval in seconds between log output (default: 5)
输出记录间隔时间(默认:5s)
–monitor|-m        Use custom pipe cmd for output messages
使用客户自定义命令行管道输出信息
–net-delay        Impose small delays in networking to not overload slow routers
强制短延迟,防止低速路由过载
–no-longpoll           Disable X-Long-Polling support
关闭长巡检协议支持
–pass|-p        Password for bitcoin JSON-RPC server
密码
–per-device-stats    Force verbose mode and output per-device statistics
前置冗长风格和输出每个设备状态
–protocol-dump|-P    Verbose dump of protocol-level activities
用于协议级别活动的大容量垃圾收容
–queue|-Q        Minimum number of work items to have queued (0 – 10) (default: 1)
最小的工作队列(0-10)(默认:1)
–quiet|-q        Disable logging output, display status and errors
关闭记录输出、状态显示和错误
–real-quiet        Disable all output
关闭所有输出
–remove-disabled    Remove disabled devices entirely, as if they didn’t exist
删除所有关闭设备,就像他们不存在一样
–retries|-r        Number of times to retry before giving up, if JSON-RPC call fails (-1 means never) (default: -1)
失败重试次数,如矿池支持(-1 表示从不)(默认:-1)
–retry-pause|-R    Number of seconds to pause, between retries (default: 5)
重试时间间隔(默认:5)
–rotate        hange multipool strategy from failover to regularly rotate at N minutes (default: 0)
调整多矿池策略:从主从矿池到间隔轮巡(默认:0s)
–round-robin        Change multipool strategy from failover to round robin on failure
调整多矿池策略:从主从矿池到失败轮检