Skip to content

Commit

Permalink
Add support for Veruscoin (PBaaS)
Browse files Browse the repository at this point in the history
Co-Authored-By: Cédric CRISPIN <[email protected]>
  • Loading branch information
xiaolin1579 and blackmennewstyle committed Nov 11, 2023
1 parent bbd38d5 commit 3df1771
Show file tree
Hide file tree
Showing 40 changed files with 8,645 additions and 37 deletions.
144 changes: 144 additions & 0 deletions examples/veruscoin_pool.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
{
"logging": {
"level": "info",
"enableConsoleLog": true,
"enableConsoleColors": true,
"logFile": "",
"apiLogFile": "",
"logBaseDirectory": "",
"perPoolLogFile": false
},
"banning": {
"manager": "Integrated",
"banOnJunkReceive": true,
"banOnInvalidShares": false
},
"notifications": {
"enabled": false,
"email": {
"host": "smtp.example.com",
"port": 587,
"user": "user",
"password": "password",
"fromAddress": "[email protected]",
"fromName": "support"
},
"admin": {
"enabled": false,
"emailAddress": "[email protected]",
"notifyBlockFound": true
}
},
"persistence": {
"postgres": {
"host": "127.0.0.1",
"port": 5432,
"user": "miningcore",
"password": "password",
"database": "miningcore"
}
},
"paymentProcessing": {
"enabled": true,
"interval": 600,
"shareRecoveryFile": "recovered-shares.txt"
},
"api": {
"enabled": true,
"listenAddress": "*",
"port": 4000,
"metricsIpWhitelist": [],
"rateLimiting": {
"disabled": true,
"rules": [
{
"Endpoint": "*",
"Period": "1s",
"Limit": 5
}
],
"ipWhitelist": [
""
]
}
},
"pools": [{
"id": "vrsc1",
"enabled": true,
"coin": "veruscoin",
"address": "RHux2fYMyxMG4W5F2Va436cANsR47JUvTE",
"GBTArgs": [{
"capabilities": [
"coinbasetxn",
"workid",
"coinbase/append"
],
"rules": [
"segwit"
]
}],
"rewardRecipients": [
{
"type": "op",
"address": "RHux2fYMyxMG4W5F2Va436cANsR47JUvTE",
"percentage": 1.5
}
],
"blockRefreshInterval": 0,
"jobRebroadcastTimeout": 0,
"clientConnectionTimeout": 2400,
"banning": {
"enabled": true,
"time": 600,
"invalidPercent": 50,
"checkThreshold": 50
},
"ports": {
"3092": {
"listenAddress": "0.0.0.0",
"difficulty": 256,
"varDiff": {
"minDiff": 256,
"maxDiff": 1048576000,
"targetTime": 15,
"retargetTime": 90,
"variancePercent": 30,
"maxDelta": 512
}
},
"3093": {
"listenAddress": "0.0.0.0",
"difficulty": 256,
"tls": true,
"tlsPfxFile": "<Your directory for the pfx file>",
"tlsPfxPassword": "password",
"varDiff": {
"minDiff": 256,
"maxDiff": 1048576000,
"targetTime": 15,
"retargetTime": 90,
"variancePercent": 30,
"maxDelta": 512
}
}
},
"daemons": [
{
"host": "127.0.0.1",
"port": 7771,
"user": "user",
"password": "pass",
"zmqBlockNotifySocket": "tcp://127.0.0.1:7772",
"zmqBlockNotifyTopic": "hashblock"
}
],
"paymentProcessing": {
"enabled": true,
"minimumPayment": 1,
"payoutScheme": "PPLNS",
"payoutSchemeConfig": {
"factor": 0.5
}
}
}]
}
Loading

0 comments on commit 3df1771

Please sign in to comment.