Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

minor updates #744

Open
wants to merge 17 commits into
base: master
Choose a base branch
from
Open
13 changes: 7 additions & 6 deletions config_examples/croat.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -67,7 +68,7 @@
"port": 9999,
"difficulty": 20000,
"desc": "SSL connection",
"ssl": true
"ssl": false
}
],
"varDiff": {
Expand All @@ -86,7 +87,7 @@
},
"fixedDiff": {
"enabled": true,
"addressSeparator": "."
"addressSeparator": "+"
},
"shareTrust": {
"enabled": true,
Expand Down
172 changes: 172 additions & 0 deletions config_examples/dego.json
Original file line number Diff line number Diff line change
@@ -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": "<your DeroGold that is used for your pool>",
"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": "<your super secret password>"
},
"daemon": {
"host": "<IP address of your node/daemon>",
"port": <port number of your node/daemon>
},
"wallet": {
"host": "<IP address where your derogold-service (wallet api) runs>",
"port": <Port number on which your derogold-service (wallet api) listens>,
"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
}
}
}
}

14 changes: 1 addition & 13 deletions config_examples/graft.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"cnVariant": 20,
"cnBlobType": 0,

"logging": {
"logging": {
"files": {
"level": "info",
"directory": "logs",
Expand Down Expand Up @@ -110,7 +110,6 @@
"lastBlockCheckRate": 1
}
},

"payments": {
"enabled": true,
"interval": 1800,
Expand All @@ -125,7 +124,6 @@
"maxTransactionAmount": 0,
"denomination": 1000000000
},

"blockUnlocker": {
"enabled": true,
"interval": 30,
Expand All @@ -134,7 +132,6 @@
"devDonation": 0.2,
"networkFee": 0.0
},

"api": {
"enabled": true,
"hashrateWindow": 600,
Expand All @@ -151,25 +148,21 @@
"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,
"auth": null,
"db": 0,
"cleanupInterval": 15
},

"notifications": {
"emailTemplate": "email_templates/default.txt",
"emailSubject": {
Expand Down Expand Up @@ -202,7 +195,6 @@
"payment": "A payment of _%AMOUNT%_ has been sent."
}
},

"email": {
"enabled": false,
"fromAddress": "[email protected]",
Expand All @@ -227,7 +219,6 @@
"domain": "mg.yourdomain"
}
},

"telegram": {
"enabled": false,
"botName": "",
Expand All @@ -244,7 +235,6 @@
"blocks": "/blocks"
}
},

"monitoring": {
"daemon": {
"checkInterval": 60,
Expand All @@ -255,12 +245,10 @@
"rpcMethod": "getbalance"
}
},

"prices": {
"source": "tradeogre",
"currency": "USD"
},

"charts": {
"pool": {
"hashrate": {
Expand Down
Loading