forked from de-luxe/burstcoin-jminer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jminer.default.properties
233 lines (215 loc) · 12.5 KB
/
jminer.default.properties
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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
# -----------------------------------------------------------------------------------
# - BURSTCOIN JMINER --------- THIS IS EXPERIMENTAL SOFTWARE, USE ON YOUR OWN RISK! -
# -----------------------------------------------------------------------------------
# jminer is a PoC (Proof of Capacity) miner with GPU support for Burstcoin (BURST)
# (openCL will also work with CPU in needed)
#
# Requirements:
# - Java8 (64bit recommend to use more memory) DO NOT USE Java9!
# - openCL
#
# PLEASE DONATE
#
# jminer would not be possible without openCL kernels and java code provided by 'burstDev',
# he really deserves some tips for that!
# BURST-QHCJ-9HB5-PTGC-5Q8J9
#
# Feel free to support future development of mining engine ...
# BURST-LUXE-RED2-G6JW-H4HG5
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# NOTICE: your 'jminer.properties' hasn't got to contain all properties listed here
# as long there is a default/fallback defined, mentioned in here.
#
# POC1 and POC2
# jminer supports POC2 since version 0.5.x
# only use one type, POC1 or POC2 on one drive ('plotPath'), mixed will be skipped for now.
# ensure your POC2 plotfiles do not have staggersize in filename, or they will be treated like POC1.
# POC1 filename: 'numericAccountId_startNonce_numberOfNonces_staggersize'
# POC2 filename: 'numericAccountId_startNonce_numberOfNonces'
# -----------------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# - PLOT-FILES ----------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# plotPaths - list of plot paths separated with , e.g. D:/,C:/,E:/plots,F:/plots (in one line)
# (required) the miner will treat every path as 'physical' drive and use one thread for it
#
# scanPathsEveryRound - optional 'true' will check 'plotPaths' for changed plot files on every round
# (default:true) 'false' will check only on start/restart
#
# listPlotFiles - optional ... list all plotFiles on start, If walletServer/soloServer is configured,
# (default:false) it will show mined blocks and drive seeks/chunks of plotfile, too.
# -----------------------------------------------------------------------------------
plotPaths=D:/,C:/,E:/plots,F:/plots
scanPathsEveryRound=
listPlotFiles=
# -----------------------------------------------------------------------------------
# - MINING MODE AND TARGET DEADLINE -------------------------------------------------
# -----------------------------------------------------------------------------------
# poolMining - 'true' for pool mining, 'false' for solo mining.
# (default:true) ensure to configure the chosen mining-mode below.
#
# targetDeadline - min. deadline to be committed. e.g. 750000 for solo mining.
# (optinal) will be used for pool mining if 'forceLocalTargetDeadline=true'
#
# forceLocalTargetDeadline - 'true' will force jminer to use the targetDeadline specified below,
# (default:false) even if the pool says otherwise. Only for pool mining! 'false' uses the default behavior for targetDeadline.
# https://www.youtube.com/watch?v=9lwogE31SiI
#
# dynamicTargetDeadline - 'true' will overrule 'targetDeadline' and 'forceLocalTargetDeadline' settings.
# (default:false) the miner will calculate the targetDeadline dynamic on poolMining:
# 'targetDL = 720 * netDiff / plotSizeInTiB' where 'netDiff = 18325193796 / baseTarget'
# -----------------------------------------------------------------------------------
poolMining=
targetDeadline=
forceLocalTargetDeadline=
dynamicTargetDeadline=
# -----------------------------------------------------------------------------------
# - MINING MODE - POOL ---------------------------------- ONLY NEEDED 4 POOL MINING -
# -----------------------------------------------------------------------------------
# NOTICE:
# ensure you already setup reward assignment
# http://localhost:8125/rewardassignment.html
#
# numericAccountId - first number in all plot-files
# (required for pool)
#
# poolServer - format is inclusive protocol and port e.g. 'http://pool.com:8125'
# (required for pool)
#
# walletServer - define local or online wallet, to receive and show last winner!
# (optional) if empty, winner feature will be just disabled.
# format is inclusive protocol and port e.g. 'http://localhost:8125'
# online use e.g. 'https://wallet.burst-team.us:8125'
#
# winnerRetriesOnAsync - number of retries to get winner from walletServer
# (default:4)
# winnerRetryIntervalInMs - time to wait until next retry to get winner from walletServer
# (default:500)
# -----------------------------------------------------------------------------------
numericAccountId=xxxxxxxxxxxxxxx
poolServer=http://pool.com
# Winner
walletServer=https://wallet.burst-team.us
winnerRetriesOnAsync=
winnerRetryIntervalInMs=
# -----------------------------------------------------------------------------------
# - MINING MODE - SOLO ---------------------------------- ONLY NEEDED 4 SOLO MINING -
# -----------------------------------------------------------------------------------
# soloServer - WARN! soloServer should be http://localhost:8125 or http://127.0.0.1:8125
# (default: Solo means you send your PASS on commit results!
# http://localhost:8125) DO NOT try to use a online wallet or pool as Server!
#
# passPhrase - secretPhrase/password of solo mining burst-account
# (required for solo)
#
# triggerServer - emulates open wallet, to prevent it from
# (default: false) falling asleep (not sure if needed at all)
#
# recommitDeadlines - recommits deadlines below 1200 3 times in a interval of 5 sec.
# (default: false) experimental feature to increase chance that deadline gets propagated
# e.g. on short disconnect or connected peers busy etc.
# -----------------------------------------------------------------------------------
soloServer=http://localhost:8125
passPhrase=xxxxxxxxxxxxxx
triggerServer=
recommitDeadlines=
# -----------------------------------------------------------------------------------
# - OpenCL -----------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# The miner uses openCL for most of the mining calculations, ensure it is setup correctly.
# Instructions can be found e.g. here (thanks cryo):
# https://github.com/bhamon/gpuPlotGenerator/blob/master/README.md
# You could also use that instruction to find your platformId and deviceId if needed.
#
# platformId - id of openCL platform on your system. one platform may have multiple
# (default:0) devices, the miner currently uses just one (in general not the bottleneck)
#
# deviceId - specifies the device used by OCLCecker, can be your first GPU,
# (default:0) in most cases it will not be 100% used. (depends on capacity)
# -----------------------------------------------------------------------------------
platformId=
deviceId=
# -----------------------------------------------------------------------------------
# - MINING ENGINE -------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# refreshInterval - interval of asking wallet/pool for mining info (in ms),
# (default:2000) to check for new block
#
# updateMiningInfo - restart round on new generationSignature for same round
# (default=true) as long as equal miningInfo was not already finished
# (it may happen that miningInfo changes, and changes back later)
#
# connectionTimeout - increase the 'connectionTimeout' on network problems.
# (default:18000) this timeout is used for all network requests.
# if you use pool or online-wallet, the 18 sec. default may
# cause timeout on committing nonces or getting mining info etc.
#
# debug - setting 'debug' to true will log additional information of the mining process,
# (default:false) that are not related to mining, but to miner internals.
#
# writeLogFile - setting 'writeLogFile' to 'true' will write all logs from console to a file, too.
# (default:false) the name of that file can be specified by 'logFilePath'.
#
# logFilePath - path (filename and optional directory, relative to miner location)
# (default:log/jminer.log.txt)
#
# logPatternConsole - only needed if you want to configure your own log pattern e.g.:
# logPatternFile %blue(%d{HH:mm:ss.SSS}) %green(%msg%n)
# would only show colored time and message
# Docs: https://logback.qos.ch/manual/layouts.html#ClassicPatternLayout
# -----------------------------------------------------------------------------------
refreshInterval=2000
updateMiningInfo=true
connectionTimeout=18000
debug=
writeLogFile=
logFilePath=
logPatternConsole=
logPatternFile=
# -----------------------------------------------------------------------------------
# - MINING ENGINE - APPEARANCE / BEHAVIOR -------------------------------------------
# -----------------------------------------------------------------------------------
# readProgressPerRound - defines how often the mining progress is shown per round
# (default:9) thats the 'xx% done ...' info.
#
# byteUnitDecimal - switch between decimal units (true): TB/GB/MB (divided by 1000),
# (default:true) or binary units (false) TiB/GiB/MiB (divided by 1024) - https://en.wikipedia.org/wiki/Byte
#
# showDriveInfo - set this to 'true' to show info about every drive on finish reading it,
# (default:false) this is useful to find the slow ones ... can help to optimize your setup.
#
# showSkippedDeadlines - set this to 'true' to show found deadlines below targetDeadline from
# (default:true) this config or provided by pool (overwriting the targetDeadline specified in here)
# -----------------------------------------------------------------------------------
readProgressPerRound=
byteUnitDecimal=
showDriveInfo=
showSkippedDeadlines=
# -----------------------------------------------------------------------------------
# - MINING ENGINE - MEMORY USAGE ----------------------------------------------------
# -----------------------------------------------------------------------------------
# chunkPartNonces - staggerSize defines number of nonces per chunk.
# (default:960000) the miner will split chunks in smaller pieces called chunkParts.
# this makes sense, to save memory and optimize speed.
# in the best case chunkPart#1 will be checked before chunkPart#2 is
# completely read ... depending on the power of your GPU.
# if staggersize is smaller than chunkPartNonces, staggersize will be used.
# e.g. play with +/- 160000 steps
#
# readerThreads - normally '0' means, the miner takes one thread per drive (plotPath) this is recommend.
# (default:0) choosing a other number of 'readerThreads' can be useful on memory issues.
# For example, if you mine on 4 drives (plotPaths), you can reduce the memory usage
# by setting 'readerThreads=2', this will reduce mining speed but save memory.
# -----------------------------------------------------------------------------------
chunkPartNonces=
readerThreads=
# -----------------------------------------------------------------------------------
# - POC2 ----------------------------------------------------------------------------
# -----------------------------------------------------------------------------------
# poc2ActivationBlockHeight - only adjust if the POC2 release fork gets delayed to a later block
# (default:502000) 'you can test how your setup with current plotfiles would behave
# after the POC2 fork. Just use a blockHeight from the past.
# No deadline will be confirmed! Just to check your read-times, cpu and memory usage.'
# -----------------------------------------------------------------------------------
poc2ActivationBlockHeight=