-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathserver_config_sample.json
More file actions
45 lines (45 loc) Β· 1.01 KB
/
server_config_sample.json
File metadata and controls
45 lines (45 loc) Β· 1.01 KB
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
{
"cliPort": 42320,
"clustering": {
"enabled": true,
"forks": "auto"
},
"logger": {
"colors": true,
"level": "debug",
"tty": true
},
"logColors": true,
"logLevel": "debug",
"defaultPoolConfigs": {
"blockRefreshInterval": 1000,
"jobRebroadcastTimeout": 55,
"connectionTimeout": 600,
"emitInvalidBlockHashes": false,
"validateWorkerUsername": true,
"tcpProxyProtocol": false,
"banning": {
"enabled": true,
"time": 600,
"invalidPercent": 50,
"checkThreshold": 500,
"purgeInterval": 300
}
},
"redis": {
"host": "127.0.0.1",
"port": 6379,
"password": "",
"cluster": false
},
"server": {
"host": "127.0.0.1",
"port": 3001
},
"stats": {
"updateInterval": 60,
"historicalInterval": 600,
"historicalRetention": 43200,
"hashrateWindow": 300
}
}