-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.example.json
145 lines (130 loc) · 2.59 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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"threads": 4,
"coin": "ltc",
"log": {
"logSetLevel": 10
},
"cluster": [
{
"nodeName": "pool1",
"nodeId": 1,
"nodeIp": "172.24.146.33"
},
{
"nodeName": "pool2",
"nodeId": 2,
"nodeIp": "172.24.146.37"
},
{
"nodeName": "test-pool1",
"nodeId": 999,
"nodeIp": "192.168.110.15"
}
],
"proxy": {
"enabled": true,
"listen": "0.0.0.0:8888",
"limitHeadersSize": 1024,
"limitBodySize": 256,
"behindReverseProxy": false,
"blockRefreshInterval": "200ms",
"blockTemplateInterval": "10s",
"stateUpdateInterval": "3s",
"difficulty": 90000000,
"hashrateExpiration": "3h",
"healthCheck": true,
"maxFails": 100,
"stratum": {
"enabled": true,
"listen": "0.0.0.0:8008",
"timeout": "60s",
"maxConn": 8192
},
"diffAdjust":{
"enabled": false,
"adjustInv": "60s",
"expectShareCount": 5
},
"policy": {
"workers": 8,
"resetInterval": "60m",
"refreshInterval": "1m",
"banning": {
"enabled": false,
"ipset": "blacklist",
"timeout": 1800,
"invalidPercent": 30,
"checkThreshold": 100,
"malformedLimit": 5
},
"limits": {
"enabled": false,
"limit": 30,
"grace": "5m",
"limitJump": 10
}
}
},
"api": {
"enabled": true,
"purgeOnly": false,
"purgeInterval": "10m",
"listen": "0.0.0.0:8080",
"statsCollectInterval": "10s",
"hashrateWindow": "30m",
"hashrateLargeWindow": "3h",
"luckWindow": [64, 128, 256],
"payments": 30,
"blocks": 50
},
"upstreamCheckInterval": "5s",
"upstreamCoinBaseEncrypted": "X/anuih86ocszNESCwJw+KCDe1wce+1Dk7Q4zCBE9a/lnCwydhF7gSkmHvcdwPjk",
"upstream": [
{
"name": "main",
"url": "http://a:b@192.168.1.124:38990",
"timeout": "10s"
},
{
"name": "backup",
"url": "http://a:b@192.168.1.124:38990",
"timeout": "10s"
}
],
"redis": {
"endpoint": "192.168.1.124:6379",
"poolSize": 10,
"database": 0,
"passwordEncrypted": "m0lxCSrfYVhmOhZcOhICrw=="
},
"unlocker": {
"enabled": true,
"poolFee": 1.0,
"poolFeeAddress": "",
"donate": false,
"depth": 6,
"immatureDepth": 3,
"keepTxFees": false,
"interval": "10m",
"daemon": "http://a:b@192.168.1.124:38990",
"timeout": "10s"
},
"payouts": {
"enabled": false,
"requirePeers": 25,
"interval": "120m",
"daemon": "http://a:b@192.168.1.124:38990",
"timeout": "10s",
"address": "0x0",
"gas": "21000",
"gasPrice": "50000000000",
"autoGas": true,
"threshold": 500000000,
"bgsave": false
},
"coinbaseExtraData": "/ltcpool/",
"newrelicEnabled": false,
"newrelicName": "MyEtherProxy",
"newrelicKey": "SECRET_KEY",
"newrelicVerbose": false
}