-
Notifications
You must be signed in to change notification settings - Fork 104
/
config_api.json
132 lines (120 loc) · 2.55 KB
/
config_api.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
{
"threads": 2,
"coin": "ethereum-pplns",
"name": "main",
"pplns": 1000000,
"coin-name":"ETH",
"proxy": {
"enabled": false,
"listen": "0.0.0.0:8888",
"limitHeadersSize": 1024,
"limitBodySize": 256,
"behindReverseProxy": false,
"blockRefreshInterval": "120ms",
"stateUpdateInterval": "3s",
"difficulty": 4000000000,
"hashrateExpiration": "3h",
"healthCheck": true,
"maxFails": 100,
"stratum": {
"enabled": false,
"listen": "0.0.0.0:8008",
"timeout": "120s",
"maxConn": 8192
},
"stratum_nice_hash": {
"enabled": false,
"listen": "0.0.0.0:8089",
"timeout": "120s",
"maxConn": 8192
},
"policy": {
"workers": 8,
"resetInterval": "60m",
"refreshInterval": "1m",
"banning": {
"enabled": true,
"ipset": "blacklist",
"timeout": 300,
"invalidPercent": 30,
"checkThreshold": 30,
"malformedLimit": 50
},
"limits": {
"enabled": true,
"limit": 30,
"grace": "5m",
"limitJump": 10
}
}
},
"api": {
"enabled": true,
"purgeOnly": false,
"purgeInterval": "10m",
"listen": "0.0.0.0:8081",
"statsCollectInterval": "5s",
"hashrateWindow": "30m",
"hashrateLargeWindow": "3h",
"luckWindow": [64, 128, 256],
"payments": 30,
"blocks": 50
},
"upstreamCheckInterval": "5s",
"upstream": [
{
"name": "mumbai",
"url": "http://10.4.1.10:8000",
"timeout": "10s"
},
{
"name": "backup",
"url": "http://10.4.1.11:8545",
"timeout": "10s"
}
],
"redis": {
"endpoint": "10.4.10.100:6379",
"poolSize": 500,
"database": 8,
"password": "9B3D8aD6705d246C82dBaA0DC10D2C7Ce47115Af"
},
"unlocker": {
"enabled": false,
"poolFee": 0.9,
"poolFeeAddress": "0x9dbe1caae874baae91022d170fba246100c73286",
"donate": false,
"depth": 120,
"immatureDepth": 20,
"keepTxFees": true,
"interval": "15m",
"daemon": "http://127.0.0.1:8545",
"timeout": "10s"
},
"payouts": {
"enabled": false,
"requirePeers": 5,
"interval": "120m",
"daemon": "http://127.0.0.1:8545",
"timeout": "10s",
"address": "0xff2a46e45df2b49f388f523b43153c38079237d9",
"gas": "21000",
"gasPrice": "20000000000",
"autoGas": true,
"keepNwFees": true,
"nwTxGas": "21000",
"nwTxGasPrice": "20000000000",
"threshold": 100000000,
"bgsave": false
},
"exchange": {
"enabled": true,
"url": "https://api.coinmarketcap.com/v1/ticker/ethereum/?convert=INR",
"timeout": "50s",
"refreshInterval": "1800s"
},
"newrelicEnabled": false,
"newrelicName": "PROXY01_ETH_MUMBAI",
"newrelicKey": "b30cd005408cbe2bcef6e081dc0a7ea2fe6c6a18",
"newrelicVerbose": false
}