Decred mining proxy with web-interface.
Proxy feature list:
- Rigs availability monitoring
- Keep track of accepts, rejects, blocks stats
- Easy detection of sick rigs
- Daemon failover list
Dependencies:
- go >= 1.4
- geth
Export GOPATH:
export GOPATH=$HOME/go
Install required packages:
go get github.com/decred/dcrd/blockchain
go get github.com/decred/dcrd/chaincfg/chainhash
go get github.com/goji/httpauth
go get github.com/gorilla/mux
go get github.com/yvasiyarov/gorelic
Compile:
go build -o decred-proxy main.go
Install required packages (look at Linux install guide above). Then compile:
go build -o decred-proxy.exe main.go
If you didn't install Brew, do it. Then install Golang:
brew install go
And follow Linux installation instructions because they are the same for OS X.
Configuration is self-describing, just copy config.example.json to config.json and specify endpoint URL and upstream URLs.
"upstream": [
{
"pool": true,
"name": "Suprnova",
"url": "http://dcr.suprnova.cc:9110",
"username": "workername",
"password": "x",
"timeout": "10s"
},
{
"name": "backup-decred",
"url": "http://127.0.0.1:9109",
"username": "yourusername",
"password": "yoursecurepassword",
"timeout": "10s"
}
],
In this example we specified Suprnova's Decred Pool mining pool as main mining target and a local geth node as backup for solo.
./decred-proxy config.json
cgminer --blake256 -o http://x.x.x.x:9109 -u amd -p 4 --other-parameters....
ccminer -a decred -o https://x.x.x.x:9109 -u nvidia -p 4 --other-parameters....
- MaxMiners Pool Pool for decred
- SuprNova.cc Suprnova's Decred Pool
Pool owners, apply for listing here. PM me for implementation details.
Currently it's solo-only solution.
- Report block numbers
- Report luck per rig
- Maybe add more stats
- Maybe add charts
The MIT License (MIT).