Node Merged Portal
This is a simple pool which makes use of node-merged-pool to allow for a simple merged mining solution
Quick Start
- Clone this repository
- Gather dependencies:
npm install
- Set coin configurations
- Copy config.json.example to config.json.
- Edit config.json as needed.
- Create pool configurations inside pools. Place coin configurations in the coins directory
- Start the pool with:
node app.js
- Publicize your pool to relevant forums. ex: LottoShares Forum
Configuration Description
config.json
{
"web": {
"port": 4567
},
"db": {
"sharelogMaxLength": 20000,
"graphMaxLength": 10000,
"hashrateTime": 10
},
"payouts": {
"interval": 20,
"threshold": 1
},
"pplnsShares": 100000
}
litecoin-merged.json
{
"coin": "litecoin.json",
"auxes": [
{
"coin": "lottoshares.json",
"daemons": [
{
"host": "127.0.0.1",
"port": 23327,
"user": "lottosharesrpc",
"password": "By66dCmyX44uUbA7P3qqXJQeT3Ywd8dZ4dJdfgxCAxbg"
}
]
}
],
"address": "LWnyEVFNBKmSezQZx7oCmPm77FLzEhaAp1",
"rewardRecipients": {
"02ac8adcede9992d1e4f60477a93a6445266084b3ffc429d5d243293b0e5f7701d": 0.1
},
"blockRefreshInterval": 1000,
"jobRebroadcastTimeout": 55,
"connectionTimeout": 600,
"emitInvalidBlockHashes": false,
"tcpProxyProtocol": false,
"banning": {
"enabled": true,
"time": 600,
"invalidPercent": 50,
"checkThreshold": 500,
"purgeInterval": 300
},
"ports": {
"3032": {
"diff": 32,
"varDiff": {
"minDiff": 8,
"maxDiff": 512,
"targetTime": 15,
"retargetTime": 90,
"variancePercent": 30
}
},
"3256": {
"diff": 256
}
},
"daemons": [
{
"host": "127.0.0.1",
"port": 9332,
"user": "litecoinrpc",
"password": "8gZFkt93ZcCuTYZ6riGJbsDNUZXmZewvETEGJEccX2mc"
}
],
"p2p": {
"enabled": false,
"host": "127.0.0.1",
"port": 19333,
"disableTransactions": true
}
}