· 6 years ago · Nov 15, 2019, 09:12 PM
1{
2 "poolHost": "multipool.dev",
3
4 "coin": "NashCash",
5 "symbol": "NaCa",
6 "coinUnits": 100000000,
7 "coinDecimalPlaces": 8,
8 "coinDifficultyTarget": 60,
9
10 "daemonType": "bytecoin",
11 "cnAlgorithm": "cryptonight_light",
12 "cnVariant": 1,
13 "cnBlobType": 2,
14
15
16 "logging": {
17 "files": {
18 "level": "info",
19 "directory": "logs",
20 "flushInterval": 5
21 },
22 "console": {
23 "level": "info",
24 "colors": true
25 }
26 },
27
28 "poolServer": {
29 "enabled": true,
30 "clusterForks": "auto",
31 "poolAddress": "** Your pool wallet address **",
32 "intAddressPrefix": 19,
33 "blockRefreshInterval": 1000,
34 "minerTimeout": 900,
35 "sslCert": "./cert.pem",
36 "sslKey": "./privkey.pem",
37 "sslCA": "./chain.pem",
38 "ports": [
39 {
40 "port": 3331,
41 "difficulty": 5000,
42 "desc": "Low end hardware"
43 },
44 {
45 "port": 4441,
46 "difficulty": 15000,
47 "desc": "Mid range hardware"
48 },
49 {
50 "port": 5551,
51 "difficulty": 25000,
52 "desc": "High end hardware"
53 },
54 {
55 "port": 7771,
56 "difficulty": 500000,
57 "desc": "Cloud-mining / NiceHash"
58 },
59 {
60 "port": 8881,
61 "difficulty": 25000,
62 "desc": "Hidden port",
63 "hidden": true
64 },
65 {
66 "port": 9991,
67 "difficulty": 20000,
68 "desc": "SSL connection",
69 "ssl": true
70 }
71 ],
72 "varDiff": {
73 "minDiff": 15000,
74 "maxDiff": 100000000,
75 "targetTime": 30,
76 "retargetTime": 60,
77 "variancePercent": 30,
78 "maxJump": 100
79 },
80 "paymentId": {
81 "addressSeparator": "+"
82 },
83 "fixedDiff": {
84 "enabled": true,
85 "addressSeparator": "."
86 },
87 "shareTrust": {
88 "enabled": true,
89 "min": 10,
90 "stepDown": 3,
91 "threshold": 10,
92 "penalty": 30
93 },
94 "banning": {
95 "enabled": true,
96 "time": 600,
97 "invalidPercent": 25,
98 "checkThreshold": 30
99 },
100 "slushMining": {
101 "enabled": false,
102 "weight": 300,
103 "blockTime": 60,
104 "lastBlockCheckRate": 1
105 }
106 },
107
108 "payments": {
109 "enabled": true,
110 "interval": 600,
111 "maxAddresses": 20,
112 "mixin": 10,
113 "priority": 0,
114 "transferFee": 100000,
115 "dynamicTransferFee": true,
116 "minerPayFee" : true,
117 "minPayment": 25000000,
118 "maxTransactionAmount": 0,
119 "denomination": 100000000
120 },
121
122 "blockUnlocker": {
123 "enabled": true,
124 "interval": 30,
125 "depth": 18,
126 "poolFee": 1,
127 "devDonation": 0,
128 "networkFee": 0.0
129 },
130
131 "api": {
132 "enabled": true,
133 "hashrateWindow": 600,
134 "updateInterval": 5,
135 "bindIp": "0.0.0.0",
136 "port": 8117,
137 "blocks": 30,
138 "payments": 30,
139 "password": "your_password",
140 "ssl": false,
141 "sslPort": 8119,
142 "sslCert": "./cert.pem",
143 "sslKey": "./privkey.pem",
144 "sslCA": "./chain.pem",
145 "trustProxyIP": true
146 },
147
148 "daemon": {
149 "host": "127.0.0.1",
150 "port": 24888
151 "auth": {
152 "user": "username",
153 "pass": "password"
154 },
155
156 "wallet": {
157 "host": "127.0.0.1",
158 "port": 8070
159
160 },
161
162 "redis": {
163 "host": "127.0.0.1",
164 "port": 6379,
165 "auth": null,
166 "db": 0,
167 "cleanupInterval": 15
168 },
169
170 "notifications": {
171 "emailTemplate": "email_templates/default.txt",
172 "emailSubject": {
173 "emailAdded": "Your email was registered",
174 "workerConnected": "Worker %WORKER_NAME% connected",
175 "workerTimeout": "Worker %WORKER_NAME% stopped hashing",
176 "workerBanned": "Worker %WORKER_NAME% banned",
177 "blockFound": "Block %HEIGHT% found !",
178 "blockUnlocked": "Block %HEIGHT% unlocked !",
179 "blockOrphaned": "Block %HEIGHT% orphaned !",
180 "payment": "We sent you a payment !"
181 },
182 "emailMessage": {
183 "emailAdded": "Your email has been registered to receive pool notifications.",
184 "workerConnected": "Your worker %WORKER_NAME% for address %MINER% is now connected from ip %IP%.",
185 "workerTimeout": "Your worker %WORKER_NAME% for address %MINER% has stopped submitting hashes on %LAST_HASH%.",
186 "workerBanned": "Your worker %WORKER_NAME% for address %MINER% has been banned.",
187 "blockFound": "Block found at height %HEIGHT% by miner %MINER% on %TIME%. Waiting maturity.",
188 "blockUnlocked": "Block mined at height %HEIGHT% with %REWARD% and %EFFORT% effort on %TIME%.",
189 "blockOrphaned": "Block orphaned at height %HEIGHT% :(",
190 "payment": "A payment of %AMOUNT% has been sent to %ADDRESS% wallet."
191 },
192 "telegramMessage": {
193 "workerConnected": "Your worker _%WORKER_NAME%_ for address _%MINER%_ is now connected from ip _%IP%_.",
194 "workerTimeout": "Your worker _%WORKER_NAME%_ for address _%MINER%_ has stopped submitting hashes on _%LAST_HASH%_.",
195 "workerBanned": "Your worker _%WORKER_NAME%_ for address _%MINER%_ has been banned.",
196 "blockFound": "*Block found at height* _%HEIGHT%_ *by miner* _%MINER%_*! Waiting maturity.*",
197 "blockUnlocked": "*Block mined at height* _%HEIGHT%_ *with* _%REWARD%_ *and* _%EFFORT%_ *effort on* _%TIME%_*.*",
198 "blockOrphaned": "*Block orphaned at height* _%HEIGHT%_ *:(*",
199 "payment": "A payment of _%AMOUNT%_ has been sent."
200 }
201 },
202
203 "email": {
204 "enabled": false,
205 "fromAddress": "your@email.com",
206 "transport": "sendmail",
207 "sendmail": {
208 "path": "/usr/sbin/sendmail"
209 },
210 "smtp": {
211 "host": "smtp.example.com",
212 "port": 587,
213 "secure": false,
214 "auth": {
215 "user": "username",
216 "pass": "password"
217 },
218 "tls": {
219 "rejectUnauthorized": false
220 }
221 },
222 "mailgun": {
223 "key": "your-private-key",
224 "domain": "mg.yourdomain"
225 }
226 },
227
228 "telegram": {
229 "enabled": false,
230 "botName": "",
231 "token": "",
232 "channel": "",
233 "channelStats": {
234 "enabled": false,
235 "interval": 30
236 },
237 "botCommands": {
238 "stats": "/stats",
239 "enable": "/enable",
240 "disable": "/disable"
241 }
242 },
243
244 "monitoring": {
245 "daemon": {
246 "checkInterval": 60,
247 "rpcMethod": "getblockcount"
248 },
249 "wallet": {
250 "checkInterval": 60,
251 "rpcMethod": "getbalance"
252 }
253 },
254
255 "prices": {
256 "source": "altex",
257 "currency": "USD"
258 },
259
260 "charts": {
261 "pool": {
262 "hashrate": {
263 "enabled": true,
264 "updateInterval": 60,
265 "stepInterval": 1800,
266 "maximumPeriod": 86400
267 },
268 "miners": {
269 "enabled": true,
270 "updateInterval": 60,
271 "stepInterval": 1800,
272 "maximumPeriod": 86400
273 },
274 "workers": {
275 "enabled": true,
276 "updateInterval": 60,
277 "stepInterval": 1800,
278 "maximumPeriod": 86400
279 },
280 "difficulty": {
281 "enabled": true,
282 "updateInterval": 1800,
283 "stepInterval": 10800,
284 "maximumPeriod": 604800
285 },
286 "price": {
287 "enabled": true,
288 "updateInterval": 1800,
289 "stepInterval": 10800,
290 "maximumPeriod": 604800
291 },
292 "profit": {
293 "enabled": true,
294 "updateInterval": 1800,
295 "stepInterval": 10800,
296 "maximumPeriod": 604800
297 }
298 },
299 "user": {
300 "hashrate": {
301 "enabled": true,
302 "updateInterval": 180,
303 "stepInterval": 1800,
304 "maximumPeriod": 86400
305 },
306 "worker_hashrate": {
307 "enabled": true,
308 "updateInterval": 60,
309 "stepInterval": 60,
310 "maximumPeriod": 86400
311 },
312 "payments": {
313 "enabled": true
314 }
315 }
316 }
317}