316 lines
7.0 KiB
JSON
316 lines
7.0 KiB
JSON
|
|
{
|
||
|
|
"poolHost": "your.pool.host",
|
||
|
|
|
||
|
|
"coin": "xolentum",
|
||
|
|
"symbol": "XOL",
|
||
|
|
"coinUnits": 1000000000000,
|
||
|
|
"coinDecimalPlaces": 12,
|
||
|
|
"coinDifficultyTarget": 60,
|
||
|
|
"blockchainExplorer": "https://explorer.xolentum.org/?hash={id}#blockchain_block",
|
||
|
|
"transactionExplorer": "https://explorer.xolentum.org/?hash={id}#blockchain_transaction",
|
||
|
|
"daemonType": "default",
|
||
|
|
"cnAlgorithm": "randomx",
|
||
|
|
"cnVariant": 0,
|
||
|
|
"cnBlobType": 3,
|
||
|
|
"includeHeight": false,
|
||
|
|
"isRandomX": true,
|
||
|
|
"includeAlgo": "rx/0",
|
||
|
|
"logging": {
|
||
|
|
"files": {
|
||
|
|
"level": "info",
|
||
|
|
"directory": "logs",
|
||
|
|
"flushInterval": 5
|
||
|
|
},
|
||
|
|
"console": {
|
||
|
|
"level": "info",
|
||
|
|
"colors": true
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"childPools": null,
|
||
|
|
"poolServer": {
|
||
|
|
"enabled": true,
|
||
|
|
"mergedMining": false,
|
||
|
|
"clusterForks": "auto",
|
||
|
|
"poolAddress": "** Your pool wallet address **",
|
||
|
|
"intAddressPrefix": 251,
|
||
|
|
"subAddressPrefix": 43,
|
||
|
|
"blockRefreshInterval": 1000,
|
||
|
|
"minerTimeout": 900,
|
||
|
|
"sslCert": "./cert.pem",
|
||
|
|
"sslKey": "./privkey.pem",
|
||
|
|
"sslCA": "./chain.pem",
|
||
|
|
"ports": [
|
||
|
|
{
|
||
|
|
"port": 6301,
|
||
|
|
"difficulty": 1000,
|
||
|
|
"desc": "Low end hardware"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"port": 6302,
|
||
|
|
"difficulty": 10000,
|
||
|
|
"desc": "Rig mining"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"port": 6303,
|
||
|
|
"difficulty": 300000,
|
||
|
|
"desc": "Rig rentals"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"port": 6304,
|
||
|
|
"difficulty": 20000,
|
||
|
|
"desc": "SSL connection",
|
||
|
|
"ssl": true
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"varDiff": {
|
||
|
|
"minDiff": 100,
|
||
|
|
"maxDiff": 10000000000,
|
||
|
|
"targetTime": 60,
|
||
|
|
"retargetTime": 30,
|
||
|
|
"variancePercent": 30,
|
||
|
|
"maxJump": 100
|
||
|
|
},
|
||
|
|
"paymentId": {
|
||
|
|
"addressSeparator": ".",
|
||
|
|
"validation": true,
|
||
|
|
"validations": ["1,16", "64"],
|
||
|
|
"ban": false
|
||
|
|
},
|
||
|
|
"fixedDiff": {
|
||
|
|
"enabled": true,
|
||
|
|
"addressSeparator": "+"
|
||
|
|
},
|
||
|
|
"shareTrust": {
|
||
|
|
"enabled": true,
|
||
|
|
"min": 10,
|
||
|
|
"stepDown": 3,
|
||
|
|
"threshold": 10,
|
||
|
|
"penalty": 30
|
||
|
|
},
|
||
|
|
"banning": {
|
||
|
|
"enabled": false,
|
||
|
|
"time": 600,
|
||
|
|
"invalidPercent": 25,
|
||
|
|
"checkThreshold": 30
|
||
|
|
},
|
||
|
|
"slushMining": {
|
||
|
|
"enabled": false,
|
||
|
|
"weight": 300,
|
||
|
|
"blockTime": 60,
|
||
|
|
"lastBlockCheckRate": 1
|
||
|
|
}
|
||
|
|
},
|
||
|
|
|
||
|
|
"payments": {
|
||
|
|
"enabled": true,
|
||
|
|
"interval": 300,
|
||
|
|
"maxAddresses": 50,
|
||
|
|
"mixin": 4,
|
||
|
|
"priority": 0,
|
||
|
|
"transferFee": 1000000000,
|
||
|
|
"dynamicTransferFee": true,
|
||
|
|
"minerPayFee": true,
|
||
|
|
"minPayment": 5000000000000,
|
||
|
|
"maxPayment": 50000000000000000,
|
||
|
|
"maxTransactionAmount": 1000000000000000,
|
||
|
|
"denomination": 1000000000000
|
||
|
|
},
|
||
|
|
|
||
|
|
"blockUnlocker": {
|
||
|
|
"enabled": true,
|
||
|
|
"interval": 30,
|
||
|
|
"depth": 60,
|
||
|
|
"poolFee": 0.5,
|
||
|
|
"devDonation": 0.2,
|
||
|
|
"networkFee": 0.0
|
||
|
|
},
|
||
|
|
|
||
|
|
"api": {
|
||
|
|
"enabled": true,
|
||
|
|
"hashrateWindow": 600,
|
||
|
|
"updateInterval": 5,
|
||
|
|
"bindIp": "0.0.0.0",
|
||
|
|
"port": 8250,
|
||
|
|
"blocks": 30,
|
||
|
|
"payments": 30,
|
||
|
|
"password": "password",
|
||
|
|
"ssl": false,
|
||
|
|
"sslPort": 8251,
|
||
|
|
"sslCert": "./cert.pem",
|
||
|
|
"sslKey": "./privkey.pem",
|
||
|
|
"sslCA": "./chain.pem",
|
||
|
|
"trustProxyIP": true
|
||
|
|
},
|
||
|
|
|
||
|
|
"daemon": {
|
||
|
|
"host": "127.0.0.1",
|
||
|
|
"port": 13580
|
||
|
|
},
|
||
|
|
|
||
|
|
"wallet": {
|
||
|
|
"host": "127.0.0.1",
|
||
|
|
"port": 44445
|
||
|
|
},
|
||
|
|
|
||
|
|
"redis": {
|
||
|
|
"host": "127.0.0.1",
|
||
|
|
"port": 6379,
|
||
|
|
"auth": null,
|
||
|
|
"db": 5,
|
||
|
|
"cleanupInterval": 15
|
||
|
|
},
|
||
|
|
|
||
|
|
"notifications": {
|
||
|
|
"emailTemplate": "email_templates/default.txt",
|
||
|
|
"emailSubject": {
|
||
|
|
"emailAdded": "Your email was registered",
|
||
|
|
"workerConnected": "Worker %WORKER_NAME% connected",
|
||
|
|
"workerTimeout": "Worker %WORKER_NAME% stopped hashing",
|
||
|
|
"workerBanned": "Worker %WORKER_NAME% banned",
|
||
|
|
"blockFound": "Block %HEIGHT% found !",
|
||
|
|
"blockUnlocked": "Block %HEIGHT% unlocked !",
|
||
|
|
"blockOrphaned": "Block %HEIGHT% orphaned !",
|
||
|
|
"payment": "We sent you a payment !"
|
||
|
|
},
|
||
|
|
"emailMessage": {
|
||
|
|
"emailAdded": "Your email has been registered to receive pool notifications.",
|
||
|
|
"workerConnected": "Your worker %WORKER_NAME% for address %MINER% is now connected from ip %IP%.",
|
||
|
|
"workerTimeout": "Your worker %WORKER_NAME% for address %MINER% has stopped submitting hashes on %LAST_HASH%.",
|
||
|
|
"workerBanned": "Your worker %WORKER_NAME% for address %MINER% has been banned.",
|
||
|
|
"blockFound": "Block found at height %HEIGHT% by miner %MINER% on %TIME%. Waiting maturity.",
|
||
|
|
"blockUnlocked": "Block mined at height %HEIGHT% with %REWARD% and %EFFORT% effort on %TIME%.",
|
||
|
|
"blockOrphaned": "Block orphaned at height %HEIGHT% :(",
|
||
|
|
"payment": "A payment of %AMOUNT% has been sent to %ADDRESS% wallet."
|
||
|
|
},
|
||
|
|
"telegramMessage": {
|
||
|
|
"workerConnected": "Your worker _%WORKER_NAME%_ for address _%MINER%_ is now connected from ip _%IP%_.",
|
||
|
|
"workerTimeout": "Your worker _%WORKER_NAME%_ for address _%MINER%_ has stopped submitting hashes on _%LAST_HASH%_.",
|
||
|
|
"workerBanned": "Your worker _%WORKER_NAME%_ for address _%MINER%_ has been banned.",
|
||
|
|
"blockFound": "*Block found at height* _%HEIGHT%_ *by miner* _%MINER%_*! Waiting maturity.*",
|
||
|
|
"blockUnlocked": "*Block mined at height* _%HEIGHT%_ *with* _%REWARD%_ *and* _%EFFORT%_ *effort on* _%TIME%_*.*",
|
||
|
|
"blockOrphaned": "*Block orphaned at height* _%HEIGHT%_ *:(*",
|
||
|
|
"payment": "A payment of _%AMOUNT%_ has been sent."
|
||
|
|
}
|
||
|
|
},
|
||
|
|
|
||
|
|
"email": {
|
||
|
|
"enabled": false,
|
||
|
|
"fromAddress": "your@email.com",
|
||
|
|
"transport": "sendmail",
|
||
|
|
"sendmail": {
|
||
|
|
"path": "/usr/sbin/sendmail"
|
||
|
|
},
|
||
|
|
"smtp": {
|
||
|
|
"host": "smtp.example.com",
|
||
|
|
"port": 587,
|
||
|
|
"secure": false,
|
||
|
|
"auth": {
|
||
|
|
"user": "username",
|
||
|
|
"pass": "password"
|
||
|
|
},
|
||
|
|
"tls": {
|
||
|
|
"rejectUnauthorized": false
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"mailgun": {
|
||
|
|
"key": "your-private-key",
|
||
|
|
"domain": "mg.yourdomain"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
|
||
|
|
"telegram": {
|
||
|
|
"enabled": false,
|
||
|
|
"botName": "",
|
||
|
|
"token": "",
|
||
|
|
"channel": "",
|
||
|
|
"channelStats": {
|
||
|
|
"enabled": false,
|
||
|
|
"interval": 30
|
||
|
|
},
|
||
|
|
"botCommands": {
|
||
|
|
"stats": "/stats",
|
||
|
|
"report": "/report",
|
||
|
|
"notify": "/notify",
|
||
|
|
"blocks": "/blocks"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
|
||
|
|
"monitoring": {
|
||
|
|
"daemon": {
|
||
|
|
"checkInterval": 60,
|
||
|
|
"rpcMethod": "getblockcount"
|
||
|
|
},
|
||
|
|
"wallet": {
|
||
|
|
"checkInterval": 60,
|
||
|
|
"rpcMethod": "getbalance"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
|
||
|
|
"prices": {
|
||
|
|
"source": "cryptonator",
|
||
|
|
"currency": "USD"
|
||
|
|
},
|
||
|
|
|
||
|
|
"charts": {
|
||
|
|
"pool": {
|
||
|
|
"hashrate": {
|
||
|
|
"enabled": true,
|
||
|
|
"updateInterval": 60,
|
||
|
|
"stepInterval": 1800,
|
||
|
|
"maximumPeriod": 86400
|
||
|
|
},
|
||
|
|
"miners": {
|
||
|
|
"enabled": true,
|
||
|
|
"updateInterval": 60,
|
||
|
|
"stepInterval": 1800,
|
||
|
|
"maximumPeriod": 86400
|
||
|
|
},
|
||
|
|
"workers": {
|
||
|
|
"enabled": true,
|
||
|
|
"updateInterval": 60,
|
||
|
|
"stepInterval": 1800,
|
||
|
|
"maximumPeriod": 86400
|
||
|
|
},
|
||
|
|
"difficulty": {
|
||
|
|
"enabled": true,
|
||
|
|
"updateInterval": 1800,
|
||
|
|
"stepInterval": 10800,
|
||
|
|
"maximumPeriod": 604800
|
||
|
|
},
|
||
|
|
"price": {
|
||
|
|
"enabled": true,
|
||
|
|
"updateInterval": 1800,
|
||
|
|
"stepInterval": 10800,
|
||
|
|
"maximumPeriod": 604800
|
||
|
|
},
|
||
|
|
"profit": {
|
||
|
|
"enabled": true,
|
||
|
|
"updateInterval": 1800,
|
||
|
|
"stepInterval": 10800,
|
||
|
|
"maximumPeriod": 604800
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"user": {
|
||
|
|
"hashrate": {
|
||
|
|
"enabled": true,
|
||
|
|
"updateInterval": 180,
|
||
|
|
"stepInterval": 1800,
|
||
|
|
"maximumPeriod": 86400
|
||
|
|
},
|
||
|
|
"worker_hashrate": {
|
||
|
|
"enabled": true,
|
||
|
|
"updateInterval": 60,
|
||
|
|
"stepInterval": 60,
|
||
|
|
"maximumPeriod": 86400
|
||
|
|
},
|
||
|
|
"payments": {
|
||
|
|
"enabled": true
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"blocks": {
|
||
|
|
"enabled": true,
|
||
|
|
"days": 30
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|