|
|
|
@ -6,7 +6,6 @@ |
|
|
|
"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,11 +16,9 @@ |
|
|
|
"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", |
|
|
|
@ -31,13 +28,11 @@ |
|
|
|
"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,7 +57,11 @@ |
|
|
|
"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 * * * *", |
|
|
|
@ -75,7 +73,6 @@ |
|
|
|
"shareCharts": "0 */20 * * * *", |
|
|
|
"shareCharts": "0 */20 * * * *", |
|
|
|
"shareChartsNum": 74 |
|
|
|
"shareChartsNum": 74 |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
"upstreamCheckInterval": "5s", |
|
|
|
"upstreamCheckInterval": "5s", |
|
|
|
"upstream": [ |
|
|
|
"upstream": [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
@ -89,7 +86,6 @@ |
|
|
|
"timeout": "10s" |
|
|
|
"timeout": "10s" |
|
|
|
} |
|
|
|
} |
|
|
|
], |
|
|
|
], |
|
|
|
|
|
|
|
|
|
|
|
"redis": { |
|
|
|
"redis": { |
|
|
|
"endpoint": "127.0.0.1:6379", |
|
|
|
"endpoint": "127.0.0.1:6379", |
|
|
|
"poolSize": 10, |
|
|
|
"poolSize": 10, |
|
|
|
@ -103,14 +99,12 @@ |
|
|
|
"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,7 +130,6 @@ |
|
|
|
"bgsave": false, |
|
|
|
"bgsave": false, |
|
|
|
"concurrentTx": 10 |
|
|
|
"concurrentTx": 10 |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
"newrelicEnabled": false, |
|
|
|
"newrelicEnabled": false, |
|
|
|
"newrelicName": "MyEtherProxy", |
|
|
|
"newrelicName": "MyEtherProxy", |
|
|
|
"newrelicKey": "SECRET_KEY", |
|
|
|
"newrelicKey": "SECRET_KEY", |
|
|
|
|