mirror of
https://github.com/kvazar-network/keva-stratum.git
synced 2025-01-14 09:08:02 +00:00
Update README.md
This commit is contained in:
parent
86c6a20c82
commit
69030efac5
100
README.md
100
README.md
@ -1,19 +1,23 @@
|
|||||||
# go-cryptonote-pool
|
# go-cryptonote-pool
|
||||||
|
|
||||||
High performance CryptoNote mining stratum written in Golang.
|
High performance CryptoNote mining stratum with Web-interface written in Golang.
|
||||||
|
|
||||||
**Stratum feature list:**
|
**Stratum feature list:**
|
||||||
|
|
||||||
|
* Be your own pool
|
||||||
|
* Rigs availability monitoring
|
||||||
|
* Keep track of accepts, rejects, blocks stats
|
||||||
|
* Easy detection of sick rigs
|
||||||
|
* Daemon failover list
|
||||||
* Concurrent shares processing
|
* Concurrent shares processing
|
||||||
* AES-NI enabled share validation code with fallback to slow implementation
|
* Beautiful Web-interface
|
||||||
* Integrated NewRelic performance monitoring plugin
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
Dependencies:
|
Dependencies:
|
||||||
|
|
||||||
* go-1.6
|
* go-1.6
|
||||||
* Everything required to build monero
|
* Everything required to build Monero
|
||||||
* Monero >= **v0.10.0**
|
* Monero >= **v0.10.0**
|
||||||
|
|
||||||
### Linux
|
### Linux
|
||||||
@ -77,46 +81,60 @@ Configuration is self-describing, just copy *config.example.json* to *config.jso
|
|||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
{
|
{
|
||||||
// Address to where mined blocks will rain
|
// Address for block rewards
|
||||||
"address": "46BeWrHpwXmHDpDEUmZBWZfoQpdc6HaERCNmx1pEYL2rAcuwufPN9rXHHtyUA4QVy66qeFQkn6sfK8aHYjA3jk3o1Bv16em",
|
"address": "46BeWrHpwXmHDpDEUmZBWZfoQpdc6HaERCNmx1pEYL2rAcuwufPN9rXHHtyUA4QVy66qeFQkn6sfK8aHYjA3jk3o1Bv16em",
|
||||||
// Don't validate login, useful for other CN coins
|
// Don't validate address
|
||||||
"bypassAddressValidation": false,
|
"bypassAddressValidation": true,
|
||||||
// Don't validate shares for efficiency
|
// Don't validate shares
|
||||||
"bypassShareValidation": false,
|
"bypassShareValidation": true,
|
||||||
|
|
||||||
"threads": 2,
|
"threads": 2,
|
||||||
|
|
||||||
// Mining endpoints
|
"estimationWindow": "15m",
|
||||||
"stratum": {
|
"luckWindow": "24h",
|
||||||
// TCP timeout for miner, better keep default
|
"largeLuckWindow": "72h",
|
||||||
"timeout": "15m",
|
|
||||||
// Interval to poll monero node for new jobs
|
|
||||||
"blockRefreshInterval": "1s",
|
|
||||||
|
|
||||||
"listen": [
|
// Interval to poll daemon for new jobs
|
||||||
{
|
"blockRefreshInterval": "1s",
|
||||||
"host": "0.0.0.0",
|
|
||||||
"port": 1111,
|
|
||||||
// Stratum port static difficulty
|
|
||||||
"diff": 5000,
|
|
||||||
"maxConn": 32768
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"host": "0.0.0.0",
|
|
||||||
"port": 3333,
|
|
||||||
"diff": 10000,
|
|
||||||
"maxConn": 32768
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
|
|
||||||
// Monero daemon connection options
|
"stratum": {
|
||||||
"daemon": {
|
// Socket timeout
|
||||||
"host": "127.0.0.1",
|
"timeout": "15m",
|
||||||
// Monero RPC port, default is 18081
|
|
||||||
"port": 18081,
|
"listen": [
|
||||||
"timeout": "10s"
|
{
|
||||||
|
"host": "0.0.0.0",
|
||||||
|
"port": 1111,
|
||||||
|
"diff": 5000,
|
||||||
|
"maxConn": 32768
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"host": "0.0.0.0",
|
||||||
|
"port": 3333,
|
||||||
|
"diff": 10000,
|
||||||
|
"maxConn": 32768
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
|
||||||
|
"frontend": {
|
||||||
|
"enabled": true,
|
||||||
|
"listen": "0.0.0.0:8082",
|
||||||
|
"login": "admin",
|
||||||
|
"password": "",
|
||||||
|
"hideIP": false
|
||||||
|
},
|
||||||
|
|
||||||
|
"upstreamCheckInterval": "5s",
|
||||||
|
|
||||||
|
"upstream": [
|
||||||
|
{
|
||||||
|
"name": "Main",
|
||||||
|
"host": "127.0.0.1",
|
||||||
|
"port": 18081,
|
||||||
|
"timeout": "10s"
|
||||||
}
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -124,10 +142,6 @@ Configuration is self-describing, just copy *config.example.json* to *config.jso
|
|||||||
|
|
||||||
For personal private pool you can use [DigitalOcean](https://www.digitalocean.com/?refcode=2a6767e6285f) droplet. With recent blockchain-db merged into Monero it's ok to run it even on 5 USD plan. You will receive 10 USD free credit there.
|
For personal private pool you can use [DigitalOcean](https://www.digitalocean.com/?refcode=2a6767e6285f) droplet. With recent blockchain-db merged into Monero it's ok to run it even on 5 USD plan. You will receive 10 USD free credit there.
|
||||||
|
|
||||||
### TODO
|
|
||||||
|
|
||||||
In-RAM stats with a simple self hosted frontend.
|
|
||||||
|
|
||||||
### Donations
|
### Donations
|
||||||
|
|
||||||
* **BTC**: [16bBz4wZPh7kV53nFMf8LmtJHE2rHsADB2](https://blockchain.info/address/16bBz4wZPh7kV53nFMf8LmtJHE2rHsADB2)
|
* **BTC**: [16bBz4wZPh7kV53nFMf8LmtJHE2rHsADB2](https://blockchain.info/address/16bBz4wZPh7kV53nFMf8LmtJHE2rHsADB2)
|
||||||
|
Loading…
Reference in New Issue
Block a user