Browse Source

Update README.md

master
Mike 5 years ago committed by GitHub
parent
commit
cd4eaf30f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 31
      README.md

31
README.md

@ -44,6 +44,14 @@ Build stratum: @@ -44,6 +44,14 @@ Build stratum:
cmake ..
make
Run stratum:
./keva-stratum config.json
If you need to bind to privileged ports and don't want to run from `root`:
sudo apt-get install libcap2-bin
sudo setcap 'cap_net_bind_service=+ep' /path/to/keva-stratum
### Mac OS X
Install Golang and required packages:
@ -62,6 +70,13 @@ Build stratum: @@ -62,6 +70,13 @@ Build stratum:
cmake ..
make
Run stratum:
./keva-stratum config.json
If you need to bind to privileged ports and don't want to run from `root`:
sudo apt-get install libcap2-bin
sudo setcap 'cap_net_bind_service=+ep' /path/to/keva-stratum
### Windows
@ -116,16 +131,8 @@ Now we are ready to build: @@ -116,16 +131,8 @@ Now we are ready to build:
make
### Running Stratum
Is the command exactly the same for linux and windows?
./keva-stratum config.json
If you need to bind to privileged ports and don't want to run from `root`:
sudo apt-get install libcap2-bin
sudo setcap 'cap_net_bind_service=+ep' /path/to/keva-stratum
Run stratum:
keva-stratum.exe config.json
## Configuration (config.json)
@ -134,7 +141,7 @@ Configuration is self-describing, just copy *config.example.json* to *config.jso @@ -134,7 +141,7 @@ Configuration is self-describing, just copy *config.example.json* to *config.jso
```javascript
{
// Address for block rewards
"address": "YOUR-ADDRESS-NOT-EXCHANGE", --The value should be the same as defined in kevacoin.conf.BTW,how do users get the address by themselves?
"address": "YOUR-ADDRESS-NOT-EXCHANGE", --The value should be the same as defined in kevacoin.conf
// Don't validate address
"bypassAddressValidation": true,
// Don't validate shares
@ -194,8 +201,6 @@ Configuration is self-describing, just copy *config.example.json* to *config.jso @@ -194,8 +201,6 @@ Configuration is self-describing, just copy *config.example.json* to *config.jso
The `upstream` is used to point to the Kevacoin daemon `kevacoind`. The `user` and `password` under `upstream` are mandatory, and they must be the same as the ones specified in Kevacoin configuration file `kevacoin.conf`. You must use `anything.WorkerID` as username in your miner. Either disable address validation or use `<address>.WorkerID` as username. If there is no workerID specified your rig stats will be merged under `0` worker. If mining software contains dev fee rounds its stats will usually appear under `0` worker. This stratum acts like your own pool, the only exception is that you will get rewarded only after block found, shares only used for stats.
Should we add the URL for https://github.com/xmrig/xmrig/wiki/Ubuntu-Build, and descripe how it works with the keva-stratum?
### License
Released under the GNU General Public License v2.

Loading…
Cancel
Save