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:
cmake .. cmake ..
make 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 ### Mac OS X
Install Golang and required packages: Install Golang and required packages:
@ -62,6 +70,13 @@ Build stratum:
cmake .. cmake ..
make 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 ### Windows
@ -116,16 +131,8 @@ Now we are ready to build:
make make
Run stratum:
### Running Stratum keva-stratum.exe config.json
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
## Configuration (config.json) ## Configuration (config.json)
@ -134,7 +141,7 @@ Configuration is self-describing, just copy *config.example.json* to *config.jso
```javascript ```javascript
{ {
// Address for block rewards // 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 // Don't validate address
"bypassAddressValidation": true, "bypassAddressValidation": true,
// Don't validate shares // Don't validate shares
@ -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. 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 ### License
Released under the GNU General Public License v2. Released under the GNU General Public License v2.

Loading…
Cancel
Save