-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
56 lines (49 loc) · 1.46 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# miner名称,不填使用电脑名
# miner name, use the computer name without filling in
minerName:
# 在 https://www.hpool.in/center/configuration 找ApiKey
# Find ApiKey at https://www.hpool.in/center/configuration
apiKey: ""
# 日志配置
# Log configuration
log:
level: info
file: miner.log
# x-proxy配置
# x-proxy configuration
server:
# 一个局域网内,代理只需要开一台就可以了,如代理所在的机器Ip是192.168.1.88,端口9190
# 下面配置改为
# xproxy: "http://192.168.1.88:9190"
# In a local area network, only one proxy is required. For example, the IP of the machine where the proxy is located is 192.168.1.88 and the port is 9190
# The following configuration is changed to
# xproxy: "http://192.168.1.88:9190"
xproxy: ""
# socket 或者是http代理配置
# socket5 or http proxy
proxy:
# E.g http://127.0.0.1:8888 socket5://127.0.0.1:8888
url: ""
username: ""
password: ""
# 参数配置
# Parameter configuration
extraParams:
# 设备编号,多设备0,1,2,3
# Device number, multi-device 0,1,2,3
devices: 0
# 任务并发数,默认16
# The number of concurrent tasks, the default is 16
taskParallel: 16
# 批量数,默认4
# batch number, default 4
batch: 4
# 任务线程数
# threads
taskThreads: 0
# CPU绑定间隔
# CPU binding step
cpuAffinityStep: 0
# cpu开始绑定编号
# cpu start binding number
cpuAffinityStart: -1