-
Notifications
You must be signed in to change notification settings - Fork 153
/
grin-miner.toml
211 lines (168 loc) · 5.83 KB
/
grin-miner.toml
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
# Sample Server Configuration File for Grin-Miner
#
# Grin-Miner will look for this file in these places: in the following
# order:
#
# -The working directory
# -The directory in which the executable resides
#########################################
### LOGGING CONFIGURATION ###
#########################################
[logging]
# Whether to log to stdout
log_to_stdout = true
# Log level for stdout: Critical, Error, Warning, Info, Debug, Trace
stdout_log_level = "Info"
# Whether to log to a file
log_to_file = true
# Log level for file: Critical, Error, Warning, Info, Debug, Trace
file_log_level = "Debug"
# Log file path
log_file_path = "grin-miner.log"
# Whether to append to the log file (true), or replace it on every run (false)
log_file_append = true
#########################################
### MINING CLIENT CONFIGURATION ###
#########################################
[mining]
# whether to run the tui
run_tui = true
# listening grin stratum server url
stratum_server_addr = "127.0.0.1:3416"
# login for the stratum server (if required)
#stratum_server_login = "http://192.168.1.100:3415"
# password for the stratum server (if required)
#stratum_server_password = "x"
# whether tls is enabled for the stratum server
stratum_server_tls_enabled = false
#The directory in which mining plugins are installed
#if not specified, grin miner will look in the directory /deps relative
#to the executable
#miner_plugin_dir = "target/debug/plugins"
################################################################
### CUCKAROO* (i.e. GPU-Friendly) MINER PLUGIN CONFIGURATION ###
################################################################
# Multiple plugins can be specified, (e.g. a cpu
# miner and a gpu miner running in parallel)
# Use a single plugin instance per device, as
# demonstrated below.
# Multiple instances of the same plugin can be loaded
# and used with different devices. On CPU plugins
# you'll likely only be using a single instance
# but in CUDA plugins the device number can be set
# corresponding to the device ID. (use nvidia-smi to find this)
### CUCKAROO* CPU SOLVERS (Asic Resist, or GPU-Friendly)
# cpu mean algorithm for processors supporting sse2
#[[mining.miner_plugin_config]]
#plugin_name = "cuckarood_cpu_compat_29"
#[mining.miner_plugin_config.parameters]
#nthreads = 4
# As above, but for processors supporting avx2
#[[mining.miner_plugin_config]]
#plugin_name = "cuckarood_cpu_avx2_29"
#[mining.miner_plugin_config.parameters]
#nthreads = 4
# CUCKAROO* CUDA SOLVER
#
# CUDA plugins are not built by default. To build:
#1) Ensure the latest cuda toolkit is installed
# (nvcc should be in your PATH)
# Wrong gcc? install gcc-5 g++-5; export CC=`which gcc-5`; # then build
#2) Ensure the 'build-cuda-plugin' feature is included in Cargo.toml, e.g:
# cuckoo_miner = { path = "./cuckoo-miner", features = ["build-cuda-plugins"]}
#
# Parameters can be set individually for each device by using multiple
# instance of each plugin. device 0 is used by default
#
# currently requires 6GB GPU memory
[[mining.miner_plugin_config]]
plugin_name = "cuckarooz_cuda_29"
[mining.miner_plugin_config.parameters]
device = 0
#cpuload = 1
#ntrims = 15
#genablocks = 1024
#recoverblocks = 2048
#recovertpb = 256
# e.g. To enable multiple devices (copy params from above as needed)
#[[mining.miner_plugin_config]]
#plugin_name = "cuckarooz_cuda_29"
#[mining.miner_plugin_config.parameters]
#device = 1
# mean OpenCL supports both NVidia and AMD
# to install run ./install_ocl_plugins.sh script
#[[mining.miner_plugin_config]]
#plugin_name = "ocl_cuckarood"
#[mining.miner_plugin_config.parameters]
# 0 for default, 1 for AMD, 2 for NVidia, specify if you have
# cards from both vendors
#platform = 0
# ID withing the platform
#device = 0
###############################################################
### CUCKATOO (i.e. ASIC-Friendly) MINER PLUGIN CONFIGURATION ##
###############################################################
#mean cpu
#[[mining.miner_plugin_config]]
#plugin_name = "cuckatoo_mean_cpu_compat_31"
#[mining.miner_plugin_config.parameters]
#nthreads = 4
#mean cpu avx2
#[[mining.miner_plugin_config]]
#plugin_name = "cuckatoo_mean_cpu_avx2_31"
#[mining.miner_plugin_config.parameters]
#mean cuda, will work on a 1080TI with expand rounds set to 2
#memory requirements are tight, don't drive a display
#off the same card while trying to mine with an 11GB card
#[[mining.miner_plugin_config]]
#plugin_name = "cuckatoo_mean_cuda_gtx_31"
#[mining.miner_plugin_config.parameters]
#device = 0
#cpuload = 1
#ntrims = 31
#genablocks = 1024
#recoverblocks = 2048
#recovertpb = 256
#mean cuda optimised to use slightly less memory,
#will work on a 2080TI with expand rounds set to 2
#as above, memory requirements are tight, don't drive a display
#off the same card while trying to mine with an 11GB card
#[[mining.miner_plugin_config]]
#plugin_name = "cuckatoo_mean_cuda_rtx_31"
#[mining.miner_plugin_config.parameters]
#device = 0
#cpuload = 1
#ntrims = 31
#genablocks = 1024
#recoverblocks = 2048
#recovertpb = 256
#the C32 reference miner requires 20GB of memory
#runs on the RTX Titan with 24GB
#[[mining.miner_plugin_config]]
#plugin_name = "cuckatoo_mean_cuda_rtx_32"
#[mining.miner_plugin_config.parameters]
#device = 0
#cpuload = 1
#ntrims = 31
#genablocks = 1024
#recoverblocks = 2048
#recovertpb = 256
#lean cuda
#[[mining.miner_plugin_config]]
#plugin_name = "cuckatoo_lean_cuda_31"
#[mining.miner_plugin_config.parameters]
#device = 0
#cpuload = 1
#ntrims = 176
# lean OpenCL supports both NVidia and AMD
# very slow but requires ~ 3GB of RAM
# to install run ./install_ocl_plugins.sh script
#[[mining.miner_plugin_config]]
#plugin_name = "ocl_cuckatoo"
#[mining.miner_plugin_config.parameters]
# 0 for default, 1 for AMD, 2 for NVidia, specify if you have
# cards from both vendors
#platform = 0
# ID withing the platform
#device = 0
#edge_bits = 31