Add working server and pool configs
This commit is contained in:
parent
2ef9e4218e
commit
24c9ac044f
|
@ -0,0 +1,128 @@
|
|||
{
|
||||
"logLevel": "debug",
|
||||
"logColors": true,
|
||||
|
||||
"cliPort": 17117,
|
||||
"cliServer": "127.0.0.1",
|
||||
|
||||
"clustering": {
|
||||
"enabled": false,
|
||||
"_enabled_comment": "turning off clustering reduces logging, but also reduces performance under load",
|
||||
"forks": "auto"
|
||||
},
|
||||
|
||||
"defaultPoolConfigs": {
|
||||
"blockRefreshInterval": 500,
|
||||
"jobRebroadcastTimeout": 55,
|
||||
"connectionTimeout": 600,
|
||||
"emitInvalidBlockHashes": false,
|
||||
"validateWorkerUsername": true,
|
||||
"tcpProxyProtocol": false,
|
||||
"banning": {
|
||||
"enabled": true,
|
||||
"time": 600,
|
||||
"invalidPercent": 50,
|
||||
"checkThreshold": 500,
|
||||
"purgeInterval": 300
|
||||
},
|
||||
"redis": {
|
||||
"_disabled_socket": "/var/run/redis/redis.sock",
|
||||
"_socket": "Set socket to enable UNIX domain sockets, otherwise leave unset and set host and port.",
|
||||
"host": "127.0.0.1",
|
||||
"port": 6379,
|
||||
"password": ""
|
||||
},
|
||||
"poolHex": "",
|
||||
"_poolHex_comment": "Set this HEX value using a template of '<pool name> <pool link>' and provide it to various explorer webmasters."
|
||||
},
|
||||
|
||||
"website": {
|
||||
"enabled": true,
|
||||
"host": "0.0.0.0",
|
||||
"port": 8080,
|
||||
"_disabled_stratumHost": "cryppit.com",
|
||||
"stats": {
|
||||
"updateInterval": 30,
|
||||
"historicalRetention": 14400,
|
||||
"hashrateWindow": 300
|
||||
},
|
||||
"adminCenter": {
|
||||
"enabled": false,
|
||||
"password": "password"
|
||||
},
|
||||
"tlsOptions" : {
|
||||
"enabled": false,
|
||||
"cert": "",
|
||||
"key": ""
|
||||
}
|
||||
},
|
||||
|
||||
"redis": {
|
||||
"_disabled_socket": "/var/run/redis/redis.sock",
|
||||
"_socket": "Set socket to enable UNIX domain sockets, otherwise leave unset and set host and port.",
|
||||
"host": "127.0.0.1",
|
||||
"port": 6379,
|
||||
"password": ""
|
||||
},
|
||||
|
||||
"switching": {
|
||||
"switch1": {
|
||||
"enabled": false,
|
||||
"algorithm": "sha256",
|
||||
"ports": {
|
||||
"3333": {
|
||||
"diff": 10,
|
||||
"varDiff": {
|
||||
"minDiff": 16,
|
||||
"maxDiff": 512,
|
||||
"targetTime": 15,
|
||||
"retargetTime": 90,
|
||||
"variancePercent": 30
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"switch2": {
|
||||
"enabled": false,
|
||||
"algorithm": "scrypt",
|
||||
"ports": {
|
||||
"4444": {
|
||||
"diff": 10,
|
||||
"varDiff": {
|
||||
"minDiff": 16,
|
||||
"maxDiff": 512,
|
||||
"targetTime": 15,
|
||||
"retargetTime": 90,
|
||||
"variancePercent": 30
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"switch3": {
|
||||
"enabled": false,
|
||||
"algorithm": "x11",
|
||||
"ports": {
|
||||
"5555": {
|
||||
"diff": 0.001,
|
||||
"varDiff": {
|
||||
"minDiff": 0.001,
|
||||
"maxDiff": 1,
|
||||
"targetTime": 15,
|
||||
"retargetTime": 60,
|
||||
"variancePercent": 30
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"profitSwitch": {
|
||||
"enabled": false,
|
||||
"updateInterval": 600,
|
||||
"depth": 0.90,
|
||||
"usePoloniex": true,
|
||||
"useCryptsy": true,
|
||||
"useMintpal": true,
|
||||
"useBittrex": true
|
||||
}
|
||||
}
|
|
@ -0,0 +1,95 @@
|
|||
{
|
||||
"enabled": true,
|
||||
"coin": "testnet/zec.json",
|
||||
|
||||
"address": "tmRGc4CD1UyUdbSJmTUzcB6oDqk4qUaHnnh",
|
||||
"_comment_address": "a transparent address to send coinbase rewards to and to transfer to zAddress. generated using zcash-cli -testnet getnewaddress.",
|
||||
|
||||
"zAddress": "",
|
||||
"_comment_zAddress": "a private address used to send coins to tAddress.",
|
||||
|
||||
"tAddress": "",
|
||||
"_comment_tAddress": "transparent address used to send payments, make this a different address, otherwise payments will not send",
|
||||
|
||||
"invalidAddress":"tmRGc4CD1UyUdbSJmTUzcB6oDqk4qUaHnnh",
|
||||
"_comment_invalidAddress": "Invalid addresses will be converted to the above",
|
||||
|
||||
"walletInterval": 100000,
|
||||
"_comment_walletInterval": "Used to cache coin stats",
|
||||
|
||||
"rewardRecipients": {
|
||||
"": 0.2
|
||||
},
|
||||
|
||||
"paymentProcessing": {
|
||||
"enabled": false,
|
||||
"_comment_enabled": "this setting is ignored by the website, so it will log RPC errors",
|
||||
"minConf": 10,
|
||||
"paymentMode": "prop",
|
||||
"_comment_paymentMode": "prop, pplnt",
|
||||
"paymentInterval": 120,
|
||||
"minimumPayment": 0.05,
|
||||
"maxBlocksPerPayment": 3,
|
||||
"daemon": {
|
||||
"host": "127.0.0.1",
|
||||
"port": 38232,
|
||||
"_comment_port": "change this to your Zebra port",
|
||||
"user": "rpcuser",
|
||||
"password": "rpcpassword"
|
||||
}
|
||||
},
|
||||
|
||||
"tlsOptions": {
|
||||
"enabled": false,
|
||||
"serverKey": "",
|
||||
"serverCert": "",
|
||||
"ca": ""
|
||||
},
|
||||
|
||||
"ports": {
|
||||
"1234": {
|
||||
"diff": 0.05,
|
||||
"tls": false,
|
||||
"varDiff": {
|
||||
"minDiff": 0.04,
|
||||
"maxDiff": 36,
|
||||
"targetTime": 15,
|
||||
"retargetTime": 60,
|
||||
"variancePercent": 30
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"poolId": "main",
|
||||
"_comment_poolId": "use it for region identification: eu, us, asia or keep default if you have one stratum instance for one coin",
|
||||
|
||||
"daemons": [
|
||||
{
|
||||
"host": "127.0.0.1",
|
||||
"port": 38232,
|
||||
"_comment_port": "change this to your Zebra port",
|
||||
"user": "rpcuser",
|
||||
"password": "rpcpassword",
|
||||
"_comment_user_password": "ignored by Zebra"
|
||||
}
|
||||
],
|
||||
|
||||
"p2p": {
|
||||
"enabled": false,
|
||||
"host": "127.0.0.1",
|
||||
"port": 19333,
|
||||
"disableTransactions": true
|
||||
},
|
||||
|
||||
"mposMode": {
|
||||
"enabled": false,
|
||||
"host": "127.0.0.1",
|
||||
"port": 3306,
|
||||
"user": "me",
|
||||
"password": "mypass",
|
||||
"database": "zec_testnet",
|
||||
"checkPassword": true,
|
||||
"autoCreateWorker": false
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue