-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathconfig.default.json
40 lines (40 loc) · 1.15 KB
/
config.default.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
{
"UserListAPI": {
"btc": "http://127.0.0.1:8000/btc-userlist.php",
"bcc": "http://127.0.0.1:8000/bcc-userlist.php"
},
"IntervalSeconds": 10,
"ZKBroker": [
"127.0.0.1:2181"
],
"ZKSwitcherWatchDir": "/stratumSwitcher/btcbcc/",
"EnableUserAutoReg": true,
"ZKAutoRegWatchDir": "/stratumSwitcher/bitcoin_autoreg/",
"UserAutoRegAPI": {
"IntervalSeconds": 10,
"URL": "http://127.0.0.1:8000/autoreg.php",
"User": "admin",
"Password": "admin",
"DefaultCoin": "btc",
"PostData": {
"sub_name": "{sub_name}",
"region_name": "cn",
"currency": "BTC"
}
},
"StratumServerCaseInsensitive": false,
"ZKUserCaseInsensitiveIndex": "/stratumSwitcher/bitcoin_case/",
"EnableAPIServer": true,
"ListenAddr": "0.0.0.0:8080",
"APIUser": "admin",
"APIPassword": "admin",
"AvailableCoins": [
"btc",
"bcc"
],
"EnableCronJob": true,
"CronIntervalSeconds": 60,
"UserCoinMapURL": "http://127.0.0.1:8000/usercoin.php",
"ZKSubPoolUpdateBaseDir": "/subpool/",
"ZKSubPoolUpdateAckTimeout": 5
}