yuriy0803 3 years ago
parent
commit
08f8af8b77
  1. 11
      README.md
  2. 28
      api.json

11
README.md

@ -264,8 +264,15 @@ otherwise you will get errors on start because of JSON comments.**
"endpoint": "127.0.0.1:6379", "endpoint": "127.0.0.1:6379",
"poolSize": 10, "poolSize": 10,
"database": 0, "database": 0,
"password": "" "password": "",
}, "sentinelEnabled": false,
"masterName": "mymaster",
"sentinelAddrs": [
"127.0.0.1:26379",
"127.0.0.1:26389",
"127.0.0.1:26399"
]
},
"exchange": { "exchange": {
"enabled": true, "enabled": true,

28
api.json

@ -2,7 +2,7 @@
"threads": 4, "threads": 4,
"coin": "etc", "coin": "etc",
"name": "main", "name": "main",
"pplns": 9000, "pplns": 9000,
"network": "classic", "network": "classic",
"coin-name":"etc", "coin-name":"etc",
@ -27,8 +27,8 @@
"timeout": "120s", "timeout": "120s",
"maxConn": 8192, "maxConn": 8192,
"tls": false, "tls": false,
"certFile": "/path/to/cert.pem", "certFile": "/path/to/cert.pem",
"keyFile": "/path/to/key.pem" "keyFile": "/path/to/key.pem"
}, },
"policy": { "policy": {
@ -68,11 +68,11 @@
"poolCharts":"*/20 * * * *", "poolCharts":"*/20 * * * *",
"poolChartsNum":74, "poolChartsNum":74,
"minerCharts":"*/20 * * * *", "minerCharts":"*/20 * * * *",
"minerChartsNum":74, "minerChartsNum":74,
"netCharts":"*/20 * * * *", "netCharts":"*/20 * * * *",
"netChartsNum":74, "netChartsNum":74,
"shareCharts":"*/20 * * * *", "shareCharts":"*/20 * * * *",
"shareChartsNum":74 "shareChartsNum":74
}, },
"upstreamCheckInterval": "5s", "upstreamCheckInterval": "5s",
@ -94,12 +94,12 @@
"poolSize": 10, "poolSize": 10,
"database": 0, "database": 0,
"password": "", "password": "",
"sentinelEnabled": false, "sentinelEnabled": false,
"masterName": "mymaster", "masterName": "mymaster",
"sentinelAddrs": [ "sentinelAddrs": [
"127.0.0.1:26379", "127.0.0.1:26379",
"127.0.0.1:26389", "127.0.0.1:26389",
"127.0.0.1:26399" "127.0.0.1:26399"
] ]
}, },

Loading…
Cancel
Save