ErgoStratum Server
Stratum mining server for Ergo. Complete setup guide for hosting your own mining pool infrastructure.
Setup Steps
1
Setup Ergo Node
Setup a Ergo Node for solo mining, making sure to include the EIP27 rules.
2
ErgoStratumServer
Setup ErgoStratumServer (the pool server)
3
Optional: NOMP Portal
Point ergo-nomp , a node open mining portal configured for ergo to both.
Note: For Miner Connection and Work Management, ErgoStratumProxy is also available and is used when you want to mine with open source miner (client side app).
Configuration
Daemon Configuration (start.js)
Configure your node connection in the daemons section:
"daemons": [
{ //Main daemon instance
"host": "NODE IP ADDRESS",
"port": 9053,
"user": "",
"password": ""
}
],Port Configuration (start.js)
Make sure to update varDiff depending on your hardware.
/* Each pool can have as many ports for your miners to connect to as you wish. Each port can
be configured to use its own pool difficulty and variable difficulty settings. varDiff is
optional and will only be used for the ports you configure it for. */
"ports": {
"3032": { //A port for your miners to connect to
"diff": 240000, //the pool difficulty for this port
/*
* use this parameter to multiply difficulty to b for each request.
* some miner like NBMiner does not support difficulty method of stratum.
* if you want your pool work with these miners set this parameters.
*/
"multiplyDifficulty": true,
/* Variable difficulty is a feature that will automatically adjust difficulty for
individual miners based on their hashrate in order to lower networking overhead */
"varDiff": {
"minDiff": 240000, //Minimum difficulty
"maxDiff": 16431986528747520, //Network difficulty will be used if it is lower than this
"targetTime": 15, //Try to get 1 share per this many seconds
"retargetTime": 10, //Check to see if we should retarget every this many seconds
"variancePercent": 30, //Allow time to very this % from target without retargeting
}
},
"3256": { //Another port for your miners to connect to, this port does not use varDiff
"diff": 240000 //The pool difficulty
}
}Troubleshooting
Common Issues
- • Have you tried turning it off and on again?
- • Is your ergo.conf configured correctly?
- • You can rescan from swagger
- • The Node needs to be fully synchronized. Make sure your wallet is also unlocked.
- • Try adjusting difficulty in start.js if you're getting
No new blocksdebug errors.
Git Configuration Fix
If you get fatal:unable to connect to github.com, run:
git config --global url.https://github.com/.insteadOf git://github.com/Community Support
Join the 🃏│solo-mining channel on our Discord for community support.