diff --git a/config_examples/croat.json b/config_examples/croat.json index 9b10f2b98..b7b604a9f 100644 --- a/config_examples/croat.json +++ b/config_examples/croat.json @@ -6,13 +6,14 @@ "coinUnits": 100000000000, "coinDecimalPlaces": 4, "coinDifficultyTarget": 60, - "blockchainExplorer": "http://blockexplorer.arqma.com/block/{id}", - "transactionExplorer": "http://blockexplorer.arqma.com/tx/{id}", + "blockchainExplorer": "http://explorer.croat.community/?hash={id}#blockchain_block", + "transactionExplorer": "http://explorer.croat.community/?hash={id}#blockchain_transaction", "daemonType": "default", "cnAlgorithm": "cryptonight", "cnVariant": 0, - "cnBlobType": 2, - + "cnBlobType": 0, + "offset": 3, + "logging": { "files": { "level": "info", @@ -67,7 +68,7 @@ "port": 9999, "difficulty": 20000, "desc": "SSL connection", - "ssl": true + "ssl": false } ], "varDiff": { @@ -86,7 +87,7 @@ }, "fixedDiff": { "enabled": true, - "addressSeparator": "." + "addressSeparator": "+" }, "shareTrust": { "enabled": true, diff --git a/config_examples/dego.json b/config_examples/dego.json new file mode 100644 index 000000000..0a9f84a10 --- /dev/null +++ b/config_examples/dego.json @@ -0,0 +1,172 @@ +{ + "poolHost": "your.pool.host", + + "coin": "derogold", + "symbol": "DEGO", + "coinUnits": 100, + "coinDifficultyTarget": 300, + "logging": { + "files": { + "level": "info", + "directory": "logs", + "flushInterval": 5 + }, + "console": { + "level": "info", + "colors": true + } + }, + "poolServer": { + "enabled": true, + "clusterForks": "auto", + "poolAddress": "", + "blockRefreshInterval": 1000, + "minerTimeout": 3600, + "ports": [ + { + "port": 5420, + "difficulty": 10000, + "desc": "Standard hardware" + } +], + "varDiff": { + "minDiff": 100, + "maxDiff": 500000, + "targetTime": 10, + "retargetTime": 30, + "variancePercent": 30, + "maxJump": 100 + }, + "fixedDiff": { + "enabled": true, + "addressSeparator": "." + }, + "shareTrust": { + "enabled": false, + "maxTrustPercent": 50, + "probabilityStepPercent": 1, + "probabilityStepWindow": 15, + "minUntrustedShares": 50, + "minUntrustedSeconds": 300, + "maxTrustedDifficulty": 100000, + "maxPenaltyMultiplier": 100, + "minPenaltyMultiplier": 2, + "penaltyMultiplierStep": 1, + "penaltyStepUpWindow": 30, + "penaltyStepDownWindow": 120, + "maxShareWindow": 300, + "maxIPCRate": 15, + "maxAge": 604800 + }, + "banning": { + "enabled": true, + "time": 600, + "invalidPercent": 10, + "checkThreshold": 15 + }, + "slushMining": { + "enabled": false, + "weight": 120, + "lastBlockCheckRate": 1 + } + }, + "payments": { + "enabled": true, + "allowPaymentId": true, + "interval": 120, + "maxAddresses": 10, + "transferFee": 2200000, + "minPayment": 1000000000, + "minPaymentIdPayment": 1000000000, + "maxTransactionAmount": 0, + "denomination": 100 + }, + "blockUnlocker": { + "enabled": true, + "interval": 300, + "depth": 8, + "poolFee": 1, + "devDonation": 0, + "coreDevDonation": 0, + "extraFeaturesDevDonation": 0 + }, + "api": { + "enabled": true, + "hashrateWindow": 600, + "updateInterval": 5, + "host": "127.0.0.1", + "port": 8117, + "blocks": 30, + "payments": 30, + "password": "" + }, + "daemon": { + "host": "", + "port": + }, + "wallet": { + "host": "", + "port": , + "password": "" + }, + "redis": { + "host": "127.0.0.1", + "port": 6379 + }, + "monitoring": { + "daemon": { + "checkInterval": 60, + "rpcMethod": "getblockcount" + }, + "wallet": { + "checkInterval": 60, + "rpcMethod": "getBalance" + } + }, + "charts": { + "pool": { + "hashrate": { + "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 + }, + "payments": { + "enabled": true + } + } + } +} + diff --git a/config_examples/graft.json b/config_examples/graft.json index b5e90d6f1..91777aff8 100644 --- a/config_examples/graft.json +++ b/config_examples/graft.json @@ -15,7 +15,7 @@ "cnVariant": 20, "cnBlobType": 0, - "logging": { + "logging": { "files": { "level": "info", "directory": "logs", @@ -110,7 +110,6 @@ "lastBlockCheckRate": 1 } }, - "payments": { "enabled": true, "interval": 1800, @@ -125,7 +124,6 @@ "maxTransactionAmount": 0, "denomination": 1000000000 }, - "blockUnlocker": { "enabled": true, "interval": 30, @@ -134,7 +132,6 @@ "devDonation": 0.2, "networkFee": 0.0 }, - "api": { "enabled": true, "hashrateWindow": 600, @@ -151,17 +148,14 @@ "sslCA": "./chain.pem", "trustProxyIP": true }, - "daemon": { "host": "127.0.0.1", "port": 18981 }, - "wallet": { "host": "127.0.0.1", "port": 18982 }, - "redis": { "host": "127.0.0.1", "port": 6379, @@ -169,7 +163,6 @@ "db": 0, "cleanupInterval": 15 }, - "notifications": { "emailTemplate": "email_templates/default.txt", "emailSubject": { @@ -202,7 +195,6 @@ "payment": "A payment of _%AMOUNT%_ has been sent." } }, - "email": { "enabled": false, "fromAddress": "your@email.com", @@ -227,7 +219,6 @@ "domain": "mg.yourdomain" } }, - "telegram": { "enabled": false, "botName": "", @@ -244,7 +235,6 @@ "blocks": "/blocks" } }, - "monitoring": { "daemon": { "checkInterval": 60, @@ -255,12 +245,10 @@ "rpcMethod": "getbalance" } }, - "prices": { "source": "tradeogre", "currency": "USD" }, - "charts": { "pool": { "hashrate": { diff --git a/config_examples/phiblock.conf b/config_examples/phiblock.conf new file mode 100644 index 000000000..65fb54d29 --- /dev/null +++ b/config_examples/phiblock.conf @@ -0,0 +1,318 @@ +{ + "poolHost": "miner.phiblock.tech", + + "coin": "PhiBlock", + "symbol": "phi", + "coinUnits": 1000000000000, + "coinDecimalPlaces": 4, + "coinDifficultyTarget": 120, + "blockchainExplorer": "https://explorer.phiblock.tech/block/{id}", + "transactionExplorer": "https://explorer.phiblock.tech/tx/{id}", + "daemonType": "default", + "cnAlgorithm": "cryptonight", + "cnVariant": 14, + "cnBlobType": 0, + "includeHeight": false, + "isRandomX": false, + + "logging": { + "files": { + "level": "info", + "directory": "logs", + "flushInterval": 5 + }, + "console": { + "level": "info", + "colors": true + } + }, + "childPools": null, + "poolServer": { + "enabled": true, + "mergedMining": false, + "clusterForks": "auto", + "poolAddress": "", + "pubAddressPrefix": 23815, + "intAddressPrefix": 1902175, + "subAddressPrefix": 1511751, + "blockRefreshInterval": 1000, + "minerTimeout": 900, + "sslCert": "./cert.pem", + "sslKey": "./privkey.pem", + "sslCA": "./chain.pem", + "ports": [ + { + "port": 4001, + "difficulty": 5000, + "desc": "Low end hardware" + }, + { + "port": 4002, + "difficulty": 20000, + "desc": "Mid range hardware" + }, + { + "port": 4003, + "difficulty": 40000, + "desc": "High end hardware" + }, + { + "port": 4004, + "difficulty": 500000, + "desc": "Cloud-mining / NiceHash" + } + ], + "varDiff": { + "minDiff": 100, + "maxDiff": 100000000, + "targetTime": 40, + "retargetTime": 360, + "variancePercent": 30, + "maxJump": 100 + }, + "paymentId": { + "addressSeparator": "+", + "validation": false, + "validations": ["1,16", "64"], + "ban": true + }, + "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": 600, + "maxAddresses": 20, + "mixin": 7, + "priority": 0, + "transferFee": 1000000000, + "dynamicTransferFee": true, + "minerPayFee": true, + "minPayment": 1000000000000, + "maxPayment": 100000000000000, + "maxTransactionAmount": 100000000000000, + "denomination": 100000000000 + }, + + "blockUnlocker": { + "enabled": true, + "interval": 30, + "depth": 60, + "poolFee": 2, + "soloFee": 2, + "finderReward": 0.0, + "devDonation": 0.0, + "networkFee": 0.0, + "fixBlockHeightRPC": false + }, + + "api": { + "enabled": true, + "hashrateWindow": 600, + "updateInterval": 5, + "bindIp": "0.0.0.0", + "port": 8117, + "blocks": 30, + "payments": 30, + "password": "your_password", + "ssl": false, + "sslPort": 8119, + "sslCert": "./cert.pem", + "sslKey": "./privkey.pem", + "sslCA": "./chain.pem", + "trustProxyIP": true + }, + + "daemon": { + "host": "127.0.0.1", + "port": 18001 + }, + + "wallet": { + "host": "127.0.0.1", + "port": 18004 + }, + + "redis": { + "host": "127.0.0.1", + "port": 6379, + "auth": null, + "db": 0, + "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": "", + "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 + } + } +} diff --git a/website_example/pages/getting_started.html b/website_example/pages/getting_started.html index e8f474ace..226e92252 100644 --- a/website_example/pages/getting_started.html +++ b/website_example/pages/getting_started.html @@ -469,4 +469,3 @@

Mining Applications

}); -