-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.example.json
122 lines (105 loc) · 2.18 KB
/
config.example.json
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
{
"addressEncrypted": "xePkFW8E5OhMuFg/FyQQqCFs2awuArs/QGEAyJcZ8X4mBV6FM+k1vER2WW6lMSUd1cP/ggTXR8j+43qVa+bNijZMdZyrohoT/7rNUj/toDFGVxzDTDtrRvVs9LbRGtIx",
"bypassAddressValidation": false,
"bypassShareValidation": false,
"threads": 16,
"coin": "xmr",
"estimationWindow": "15m",
"luckWindow": "24h",
"largeLuckWindow": "72h",
"blockRefreshInterval": "1s",
"hashRateExpiration": "3h",
"purgeInterval": "10m",
"hashrateWindow": "30m",
"hashrateLargeWindow": "3h",
"log": {
"logSetLevel": 10
},
"stratum": {
"enabled": true,
"timeout": "15m",
"listen": [
{
"host": "0.0.0.0",
"port": 3003,
"diff": 300000,
"maxConn": 50000
}
]
},
"stratumTls": {
"enabled": true,
"timeout": "15m",
"listen": [
{
"host": "0.0.0.0",
"port": 13003,
"diff": 300000,
"maxConn": 50000
}
],
"tlsCert": "certs/server.pem",
"tlsKey": "certs/server.key"
},
"frontend": {
"enabled": false,
"listen": "0.0.0.0:8082",
"login": "admin",
"password": "",
"hideIP": false
},
"upstreamCheckInterval": "5s",
"upstream": [
{
"name": "Main",
"host": "192.168.33.166",
"port": 18081,
"timeout": "3s"
},
{
"name": "Backup1",
"host": "192.168.26.83",
"port": 18081,
"timeout": "3s"
},
{
"name": "Backup2",
"host": "192.168.33.243",
"port": 18081,
"timeout": "3s"
}
],
"redis": {
"enabled": false,
"endpoint": "127.0.0.1:6379",
"poolSize": 10,
"database": 0,
"passwordEncrypted": "oXyI5OTy+nRTshESi80X8KKSjDiLksuw1mhwRg2z0Ic="
},
"redisFailover": {
"enabled": true,
"masterName": "mymaster",
"sentinelEndpoints": ["192.168.33.166:26379", "192.168.26.83:26379", "192.168.33.243:26379"],
"poolSize": 10,
"database": 0,
"passwordEncrypted": "oXyI5OTy+nRTshESi80X8KKSjDiLksuw1mhwRg2z0Ic="
},
"unlocker": {
"enabled": true,
"poolFee": 1.0,
"poolFeeAddress": "",
"donate": false,
"depth": 6,
"immatureDepth": 3,
"keepTxFees": false,
"interval": "10m",
"daemonName": "unlocker",
"daemonHost": "192.168.33.166",
"daemonPort": 18081,
"timeout": "10s"
},
"newrelicEnabled": false,
"newrelicName": "MyStratum",
"newrelicKey": "SECRET_KEY",
"newrelicVerbose": false
}