Skip to content

Instantly share code, notes, and snippets.

@eug13768
Created July 25, 2016 18:38
Show Gist options
  • Save eug13768/017a2710521c4f3f70b89f788919e0db to your computer and use it in GitHub Desktop.
Save eug13768/017a2710521c4f3f70b89f788919e0db to your computer and use it in GitHub Desktop.
config.json
{
"threads": 5,
"coin": "eth",
"name": "main",
"proxy": {
"enabled": true,
"listen": "<resolvable_pool_domain_name>:8888",
"limitHeadersSize": 1024,
"limitBodySize": 256,
"behindReverseProxy": false,
"blockRefreshInterval": "120ms",
"stateUpdateInterval": "3s",
"difficulty": 1000000000,
"hashrateExpiration": "3h",
"healthCheck": true,
"maxFails": 100,
"stratum": {
"enabled": true,
"listen": "<resolvable_pool_domain_name>:8008",
"timeout": "120s",
"maxConn": 8192
},
"policy": {
"workers": 2000,
"resetInterval": "60m",
"refreshInterval": "1m",
"banning": {
"enabled": false,
"ipset": "blacklist",
"timeout": 1800,
"invalidPercent": 30,
"checkThreshold": 30,
"malformedLimit": 5
},
"limits": {
"enabled": false,
"limit": 30,
"grace": "5m",
"limitJump": 10
}
}
},
"api": {
"enabled": true,
"purgeOnly": false,
"purgeInterval": "10m",
"listen": "0.0.0.0:8080",
"statsCollectInterval": "5s",
"hashrateWindow": "30m",
"hashrateLargeWindow": "3h",
"payments": 50,
"blocks": 50
},
"upstreamCheckInterval": "5s",
"upstream": [
{
"name": "main",
"url": "http://127.0.0.1:8545",
"timeout": "10s"
},
{
"name": "backup",
"url": "http://127.0.0.2:8545",
"timeout": "10s"
}
],
"redis": {
"endpoint": "127.0.0.1:6379",
"poolSize": 10,
"database": 0,
"password": ""
},
"newrelicEnabled": false,
"newrelicName": "MyEtherProxy",
"newrelicKey": "SECRET_KEY",
"newrelicVerbose": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment