Browse Source

update

master
yuriy0803 2 years ago
parent
commit
6197393a61
  1. 70
      api.json
  2. 43
      payouts.json

70
api.json

@ -2,11 +2,10 @@
"threads": 4, "threads": 4,
"coin": "etc", "coin": "etc",
"name": "main", "name": "main",
"pplns": 9000, "pplns": 9000,
"network": "classic", "network": "classic",
"algo": "etchash", "algo": "etchash",
"coin-name":"etc", "coin-name": "etc",
"proxy": { "proxy": {
"enabled": true, "enabled": true,
"listen": "0.0.0.0:8888", "listen": "0.0.0.0:8888",
@ -17,27 +16,23 @@
"stateUpdateInterval": "3s", "stateUpdateInterval": "3s",
"difficulty": 8589934592, "difficulty": 8589934592,
"hashrateExpiration": "3h", "hashrateExpiration": "3h",
"healthCheck": true, "healthCheck": true,
"debug": true, "debug": true,
"maxFails": 100, "maxFails": 100,
"stratum": { "stratum": {
"enabled": true, "enabled": true,
"listen": "0.0.0.0:8008", "listen": "0.0.0.0:8008",
"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": {
"workers": 8, "workers": 8,
"resetInterval": "60m", "resetInterval": "60m",
"refreshInterval": "1m", "refreshInterval": "1m",
"blacklist_file" : "/home/pool/open-etc-pool-friends/stratum_blacklist.json", "blacklist_file": "/home/pool/open-etc-pool-friends/stratum_blacklist.json",
"banning": { "banning": {
"enabled": false, "enabled": false,
"ipset": "blacklist", "ipset": "blacklist",
@ -54,7 +49,6 @@
} }
} }
}, },
"api": { "api": {
"enabled": true, "enabled": true,
"purgeOnly": false, "purgeOnly": false,
@ -63,19 +57,22 @@
"statsCollectInterval": "5s", "statsCollectInterval": "5s",
"hashrateWindow": "30m", "hashrateWindow": "30m",
"hashrateLargeWindow": "3h", "hashrateLargeWindow": "3h",
"luckWindow": [64, 128, 256], "luckWindow": [
64,
128,
256
],
"payments": 30, "payments": 30,
"blocks": 50, "blocks": 50,
"poolCharts":"0 */20 * * * *", "poolCharts": "0 */20 * * * *",
"poolChartsNum":74, "poolChartsNum": 74,
"minerCharts":"0 */20 * * * *", "minerCharts": "0 */20 * * * *",
"minerChartsNum":74, "minerChartsNum": 74,
"netCharts":"0 */20 * * * *", "netCharts": "0 */20 * * * *",
"netChartsNum":74, "netChartsNum": 74,
"shareCharts":"0 */20 * * * *", "shareCharts": "0 */20 * * * *",
"shareChartsNum":74 "shareChartsNum": 74
}, },
"upstreamCheckInterval": "5s", "upstreamCheckInterval": "5s",
"upstream": [ "upstream": [
{ {
@ -89,28 +86,25 @@
"timeout": "10s" "timeout": "10s"
} }
], ],
"redis": { "redis": {
"endpoint": "127.0.0.1:6379", "endpoint": "127.0.0.1:6379",
"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"
] ]
}, },
"exchange": { "exchange": {
"enabled": true, "enabled": true,
"url": "https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids=ethereum-classic", "url": "https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids=ethereum-classic",
"timeout": "50s", "timeout": "50s",
"refreshInterval": "900s" "refreshInterval": "900s"
}, },
"unlocker": { "unlocker": {
"enabled": true, "enabled": true,
"poolFee": 1.0, "poolFee": 1.0,
@ -122,7 +116,6 @@
"daemon": "http://127.0.0.1:8545", "daemon": "http://127.0.0.1:8545",
"timeout": "10s" "timeout": "10s"
}, },
"payouts": { "payouts": {
"enabled": false, "enabled": false,
"requirePeers": 1, "requirePeers": 1,
@ -137,9 +130,8 @@
"bgsave": false, "bgsave": false,
"concurrentTx": 10 "concurrentTx": 10
}, },
"newrelicEnabled": false, "newrelicEnabled": false,
"newrelicName": "MyEtherProxy", "newrelicName": "MyEtherProxy",
"newrelicKey": "SECRET_KEY", "newrelicKey": "SECRET_KEY",
"newrelicVerbose": false "newrelicVerbose": false
} }

43
payouts.json

@ -2,12 +2,9 @@
"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",
"payouts": { "payouts": {
"enabled": true, "enabled": true,
"requirePeers": 1, "requirePeers": 1,
@ -22,29 +19,25 @@
"bgsave": false, "bgsave": false,
"concurrentTx": 10 "concurrentTx": 10
}, },
"upstreamCheckInterval": "5s",
"upstreamCheckInterval": "5s", "upstream": [
{
"upstream": [ "name": "main",
{ "url": "http://127.0.0.1:8545",
"name": "main", "timeout": "10s"
"url": "http://127.0.0.1:8545", }
"timeout": "10s" ],
}
],
"redis": { "redis": {
"endpoint": "127.0.0.1:6379", "endpoint": "127.0.0.1:6379",
"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