· 6 years ago · Dec 26, 2019, 03:32 PM
1{
2 "poolHost": "domain.com",
3
4 "coin": "coin",
5 "symbol": "coinsymbol",
6 "coinUnits": 100000000,
7 "coinDecimalPlaces": 8,
8 "coinDifficultyTarget": 120,
9 "blockchainExplorer": "http://explorer.domain.com/?hash={id}#blockchain_block",
10 "transactionExporer": "http://explorer.domain.com/?hash={id}#blockchain_transaction",
11
12 "daemonType": "bytecoin",
13 "cnAlgorithm": "cryptonight_pico",
14 "cnVariant": 2,
15 "cnBlobType": 2,
16
17 "logging": {
18 "files": {
19 "level": "info",
20 "directory": "logs",
21 "flushInterval": 5
22 },
23 "console": {
24 "level": "info",
25 "colors": true
26 }
27 },
28 "childPools": null,
29 "poolServer": {
30 "enabled": true,
31 "mergedMining": false,
32 "clusterForks": "auto",
33 "poolAddress": "wallet_addres",
34 "intAddressPrefix": null,
35 "blockRefreshInterval": 1000,
36 "minerTimeout": 900,
37 "sslCert": "./cert.pem",
38 "sslKey": "./privkey.pem",
39 "sslCA": "./chain.pem",
40 "ports": [
41 {
42 "port": 3333,
43 "difficulty": 2500,
44 "desc": "Low end hardware"
45 },
46 {
47 "port": 4444,
48 "difficulty": 25000,
49 "desc": "Mid range hardware"
50 },
51 {
52 "port": 5555,
53 "difficulty": 100000,
54 "desc": "High end hardware"
55 },
56 {
57 "port": 7777,
58 "difficulty": 500000,
59 "desc": "Cloud-mining / NiceHash"
60 },
61 {
62 "port": 8888,
63 "difficulty": 25000,
64 "desc": "Hidden port",
65 "hidden": false
66 },
67 {
68 "port": 9999,
69 "difficulty": 20000,
70 "desc": "SSL connection",
71 "ssl": false
72 }
73 ],
74 "varDiff": {
75 "minDiff": 100,
76 "maxDiff": 100000000,
77 "targetTime": 60,
78 "retargetTime": 30,
79 "variancePercent": 30,
80 "maxJump": 100
81 },
82 "paymentId": {
83 "addressSeparator": "+"
84 },
85 "fixedDiff": {
86 "enabled": true,
87 "addressSeparator": "."
88 },
89 "shareTrust": {
90 "enabled": true,
91 "min": 10,
92 "stepDown": 3,
93 "threshold": 10,
94 "penalty": 30
95 },
96 "banning": {
97 "enabled": true,
98 "time": 600,
99 "invalidPercent": 25,
100 "checkThreshold": 30
101 },
102 "slushMining": {
103 "enabled": false,
104 "weight": 300,
105 "blockTime": 60,
106 "lastBlockCheckRate": 1
107 }
108 },
109
110 "payments": {
111 "enabled": true,
112 "interval": 300,
113 "maxAddresses": 50,
114 "mixin": 0,
115 "priority": 0,
116 "transferFee": 100000,
117 "dynamicTransferFee": true,
118 "minerPayFee" : true,
119 "minPayment": 1000000000,
120 "maxPayment": null,
121 "maxTransactionAmount": 0,
122 "denomination": 100000000
123 },
124
125 "blockUnlocker": {
126 "enabled": true,
127 "interval": 30,
128 "depth": 20,
129 "poolFee": 0.5,
130 "devDonation": 0.0,
131 "networkFee": 0.0
132 },
133
134 "api": {
135 "enabled": true,
136 "hashrateWindow": 600,
137 "updateInterval": 5,
138 "bindIp": "0.0.0.0",
139 "port": 8117,
140 "blocks": 30,
141 "payments": 30,
142 "password": "some_password",
143 "ssl": false,
144 "sslPort": 8119,
145 "sslCert": "./cert.pem",
146 "sslKey": "./privkey.pem",
147 "sslCA": "./chain.pem",
148 "trustProxyIP": true
149 },
150
151 "daemon": {
152 "host": "127.0.0.1",
153 "port": 11898
154 },
155
156 "wallet": {
157 "host": "127.0.0.1",
158 "port": 8070
159 },
160
161 "redis": {
162 "host": "127.0.0.1",
163 "port": 6379,
164 "auth": null,
165 "db": 0,
166 "cleanupInterval": 15
167 },
168
169 "notifications": {
170 "emailTemplate": "email_templates/default.txt",
171 "emailSubject": {
172 "emailAdded": "Your email was registered",
173 "workerConnected": "Worker %WORKER_NAME% connected",
174 "workerTimeout": "Worker %WORKER_NAME% stopped hashing",
175 "workerBanned": "Worker %WORKER_NAME% banned",
176 "blockFound": "Block %HEIGHT% found !",
177 "blockUnlocked": "Block %HEIGHT% unlocked !",
178 "blockOrphaned": "Block %HEIGHT% orphaned !",
179 "payment": "We sent you a payment !"
180 },
181 "emailMessage": {
182 "emailAdded": "Your email has been registered to receive pool notifications.",
183 "workerConnected": "Your worker %WORKER_NAME% for address %MINER% is now connected from ip %IP%.",
184 "workerTimeout": "Your worker %WORKER_NAME% for address %MINER% has stopped submitting hashes on %LAST_HASH%.",
185 "workerBanned": "Your worker %WORKER_NAME% for address %MINER% has been banned.",
186 "blockFound": "Block found at height %HEIGHT% by miner %MINER% on %TIME%. Waiting maturity.",
187 "blockUnlocked": "Block mined at height %HEIGHT% with %REWARD% and %EFFORT% effort on %TIME%.",
188 "blockOrphaned": "Block orphaned at height %HEIGHT% :(",
189 "payment": "A payment of %AMOUNT% has been sent to %ADDRESS% wallet."
190 },
191 "telegramMessage": {
192 "workerConnected": "Your worker _%WORKER_NAME%_ for address _%MINER%_ is now connected from ip _%IP%_.",
193 "workerTimeout": "Your worker _%WORKER_NAME%_ for address _%MINER%_ has stopped submitting hashes on _%LAST_HASH%_.",
194 "workerBanned": "Your worker _%WORKER_NAME%_ for address _%MINER%_ has been banned.",
195 "blockFound": "*Block found at height* _%HEIGHT%_ *by miner* _%MINER%_*! Waiting maturity.*",
196 "blockUnlocked": "*Block mined at height* _%HEIGHT%_ *with* _%REWARD%_ *and* _%EFFORT%_ *effort on* _%TIME%_*.*",
197 "blockOrphaned": "*Block orphaned at height* _%HEIGHT%_ *:(*",
198 "payment": "A payment of _%AMOUNT%_ has been sent."
199 }
200 },
201
202 "email": {
203 "enabled": false,
204 "fromAddress": "your@email.com",
205 "transport": "sendmail",
206 "sendmail": {
207 "path": "/usr/sbin/sendmail"
208 },
209 "smtp": {
210 "host": "smtp.example.com",
211 "port": 587,
212 "secure": false,
213 "auth": {
214 "user": "username",
215 "pass": "password"
216 },
217 "tls": {
218 "rejectUnauthorized": false
219 }
220 },
221 "mailgun": {
222 "key": "your-private-key",
223 "domain": "mg.yourdomain"
224 }
225 },
226
227 "telegram": {
228 "enabled": false,
229 "botName": "",
230 "token": "",
231 "channel": "",
232 "channelStats": {
233 "enabled": false,
234 "interval": 30
235 },
236 "botCommands": {
237 "stats": "/stats",
238 "report": "/report",
239 "notify": "/notify",
240 "blocks": "/blocks"
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": "tradeogre",
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 "blocks": {
317 "enabled": true,
318 "days": 30
319 }
320 }
321}