From a5475daee598ddc2ea79e061593798be746fb0fd Mon Sep 17 00:00:00 2001 From: Interchained Date: Mon, 7 Dec 2020 17:58:26 -0500 Subject: [PATCH] Create crystaleum.json --- config_examples/crystaleum.json | 314 ++++++++++++++++++++++++++++++++ 1 file changed, 314 insertions(+) create mode 100644 config_examples/crystaleum.json diff --git a/config_examples/crystaleum.json b/config_examples/crystaleum.json new file mode 100644 index 0000000..54e30a1 --- /dev/null +++ b/config_examples/crystaleum.json @@ -0,0 +1,314 @@ +{ + "poolHost": "CRFI_POOL_ADDRESS", + + "coin": "Crystaleum", + "symbol": "CRFI", + "coinUnits": 1000000000000, + "coinDecimalPlaces": 12, + "coinDifficultyTarget": 6, + + "daemonType": "default", + "cnAlgorithm": "cryptonight", + "cnVariant": 4, + "cnBlobType": 3, + + "logging": { + "files": { + "level": "info", + "directory": "logs", + "flushInterval": 5 + }, + "console": { + "level": "info", + "colors": true + } + }, + "poolAddress": "CRFI_POOL_ADDRESS", + "poolServer": { + "enabled": true, + "clusterForks": "auto", + "poolAddress": "CRFI_POOL_ADDRESS", + "pubAddressPrefix": 343, + "intAddressPrefix": 340, + "subAddressPrefix": 439, + "blockRefreshInterval": 439, + "minerTimeout": 1200, + "sslCert": "cert.pem", + "sslKey": "privkey.pem", + "sslCA": "fullchain.pem", + "ports": [ + { + "port": 1231, + "difficulty": 100000, + "desc": "Low end hardware" + }, + { + "port": 1232, + "difficulty": 300000, + "desc": "Mid range hardware" + }, + { + "port": 1233, + "difficulty": 1000000, + "desc": "High end hardware" + }, + { + "port": 1234, + "difficulty": 2000000, + "desc": "Cloud-mining / NiceHash" + }, + { + "port": 2345, + "difficulty": 250000, + "desc": "Hidden port", + "hidden": true + }, + { + "port": 3456, + "difficulty": 2000000, + "desc": "SSL connection", + "ssl": true + } + ], + "varDiff": { + "minDiff": 100000, + "maxDiff": 1000000000, + "targetTime": 6, + "retargetTime": 12, + "variancePercent": 3, + "maxJump": 10000 + }, + "paymentId": { + "addressSeparator": "+" + }, + "fixedDiff": { + "enabled": true, + "addressSeparator": "." + }, + "shareTrust": { + "enabled": true, + "min": 10, + "stepDown": 3, + "threshold": 10, + "penalty": 30 + }, + "banning": { + "enabled": true, + "time": 600, + "invalidPercent": 25, + "checkThreshold": 30 + }, + "slushMining": { + "enabled": false, + "weight": 300, + "blockTime": 60, + "lastBlockCheckRate": 1 + } + }, + + "payments": { + "enabled": true, + "interval": 30, + "maxAddresses": 1, + "mixin": 1, + "priority": 1, + "transferFee": 1000000, + "dynamicTransferFee": true, + "minerPayFee": true, + "minPayment": 4120000, + "maxPayment": 40000000, + "maxTransactionAmount": 40000000, + "denomination": 10000 + }, + + "blockUnlocker": { + "enabled": true, + "interval": 100, + "depth": 30, + "poolFee": 0.0, + "devDonation": 0.0, + "networkFee": 0.0 + }, + + "api": { + "enabled": true, + "hashrateWindow": 600, + "updateInterval": 5, + "bindIp": "0.0.0.0", + "port": API_PORT, + "blocks": 30, + "payments": 30, + "password": "ADMIN_PASS", + "ssl": true, + "sslPort": SSL_API_PORT, + "sslCert": "cert.pem", + "sslKey": "privkey.pem", + "sslCA": "fullchain.pem", + "trustProxyIP": true + }, + + "daemon": { + "host": "127.0.0.1", + "port": 12345 + }, + + "wallet": { + "host": "127.0.0.1", + "port": 67891 + }, + + "redis": { + "host": "127.0.0.1", + "port": 1234, + "auth": null, + "db": 1, + "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": "TELEGRAM_BOT_NAME", + "token": "TELEGRAM_API_TOKEN", + "channel": "TELEGRAM_CHANNEL_NAME", + "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": "tradeogre", + "currency": "BTC" + }, + + "charts": { + "pool": { + "hashrate": { + "enabled": true, + "updateInterval": 12, + "stepInterval": 1800, + "maximumPeriod": 86400 + }, + "miners": { + "enabled": true, + "updateInterval": 30, + "stepInterval": 1800, + "maximumPeriod": 86400 + }, + "workers": { + "enabled": true, + "updateInterval": 60, + "stepInterval": 1800, + "maximumPeriod": 86400 + }, + "difficulty": { + "enabled": true, + "updateInterval": 60, + "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": 36, + "stepInterval": 1800, + "maximumPeriod": 86400 + }, + "payments": { + "enabled": true + } + }, + "blocks": { + "enabled": true, + "days": 30 + } + } +}