From 6197393a619b8ff28d0e475b3721ae5339506e6c Mon Sep 17 00:00:00 2001 From: yuriy0803 <68668177+yuriy0803@users.noreply.github.com> Date: Fri, 28 Jul 2023 14:26:55 +0200 Subject: [PATCH] update --- api.json | 70 +++++++++++++++++++++++----------------------------- payouts.json | 43 ++++++++++++++------------------ 2 files changed, 49 insertions(+), 64 deletions(-) diff --git a/api.json b/api.json index 2cbb17e..06e4153 100644 --- a/api.json +++ b/api.json @@ -2,11 +2,10 @@ "threads": 4, "coin": "etc", "name": "main", - "pplns": 9000, + "pplns": 9000, "network": "classic", "algo": "etchash", - "coin-name":"etc", - + "coin-name": "etc", "proxy": { "enabled": true, "listen": "0.0.0.0:8888", @@ -17,27 +16,23 @@ "stateUpdateInterval": "3s", "difficulty": 8589934592, "hashrateExpiration": "3h", - "healthCheck": true, "debug": true, "maxFails": 100, - "stratum": { "enabled": true, "listen": "0.0.0.0:8008", "timeout": "120s", "maxConn": 8192, "tls": false, - "certFile": "/path/to/cert.pem", - "keyFile": "/path/to/key.pem" + "certFile": "/path/to/cert.pem", + "keyFile": "/path/to/key.pem" }, - "policy": { "workers": 8, "resetInterval": "60m", "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": { "enabled": false, "ipset": "blacklist", @@ -54,7 +49,6 @@ } } }, - "api": { "enabled": true, "purgeOnly": false, @@ -63,19 +57,22 @@ "statsCollectInterval": "5s", "hashrateWindow": "30m", "hashrateLargeWindow": "3h", - "luckWindow": [64, 128, 256], + "luckWindow": [ + 64, + 128, + 256 + ], "payments": 30, "blocks": 50, - "poolCharts":"0 */20 * * * *", - "poolChartsNum":74, - "minerCharts":"0 */20 * * * *", - "minerChartsNum":74, - "netCharts":"0 */20 * * * *", - "netChartsNum":74, - "shareCharts":"0 */20 * * * *", - "shareChartsNum":74 + "poolCharts": "0 */20 * * * *", + "poolChartsNum": 74, + "minerCharts": "0 */20 * * * *", + "minerChartsNum": 74, + "netCharts": "0 */20 * * * *", + "netChartsNum": 74, + "shareCharts": "0 */20 * * * *", + "shareChartsNum": 74 }, - "upstreamCheckInterval": "5s", "upstream": [ { @@ -89,28 +86,25 @@ "timeout": "10s" } ], - "redis": { "endpoint": "127.0.0.1:6379", "poolSize": 10, "database": 0, "password": "", - "sentinelEnabled": false, - "masterName": "mymaster", - "sentinelAddrs": [ - "127.0.0.1:26379", - "127.0.0.1:26389", - "127.0.0.1:26399" - ] + "sentinelEnabled": false, + "masterName": "mymaster", + "sentinelAddrs": [ + "127.0.0.1:26379", + "127.0.0.1:26389", + "127.0.0.1:26399" + ] }, - "exchange": { - "enabled": true, - "url": "https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids=ethereum-classic", - "timeout": "50s", - "refreshInterval": "900s" - }, - + "enabled": true, + "url": "https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&ids=ethereum-classic", + "timeout": "50s", + "refreshInterval": "900s" + }, "unlocker": { "enabled": true, "poolFee": 1.0, @@ -122,7 +116,6 @@ "daemon": "http://127.0.0.1:8545", "timeout": "10s" }, - "payouts": { "enabled": false, "requirePeers": 1, @@ -137,9 +130,8 @@ "bgsave": false, "concurrentTx": 10 }, - "newrelicEnabled": false, "newrelicName": "MyEtherProxy", "newrelicKey": "SECRET_KEY", "newrelicVerbose": false -} +} \ No newline at end of file diff --git a/payouts.json b/payouts.json index 15b4d66..16128f2 100644 --- a/payouts.json +++ b/payouts.json @@ -2,12 +2,9 @@ "threads": 4, "coin": "etc", "name": "main", - "pplns": 9000, + "pplns": 9000, "network": "classic", - "coin-name":"etc", - - - + "coin-name": "etc", "payouts": { "enabled": true, "requirePeers": 1, @@ -22,29 +19,25 @@ "bgsave": false, "concurrentTx": 10 }, - - "upstreamCheckInterval": "5s", - - "upstream": [ - { - "name": "main", - "url": "http://127.0.0.1:8545", - "timeout": "10s" - } - ], - + "upstreamCheckInterval": "5s", + "upstream": [ + { + "name": "main", + "url": "http://127.0.0.1:8545", + "timeout": "10s" + } + ], "redis": { "endpoint": "127.0.0.1:6379", "poolSize": 10, "database": 0, "password": "", - "sentinelEnabled": false, - "masterName": "mymaster", - "sentinelAddrs": [ - "127.0.0.1:26379", - "127.0.0.1:26389", - "127.0.0.1:26399" - ] + "sentinelEnabled": false, + "masterName": "mymaster", + "sentinelAddrs": [ + "127.0.0.1:26379", + "127.0.0.1:26389", + "127.0.0.1:26399" + ] } - -} +} \ No newline at end of file