Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

README: Update for pool support. #225

Merged
merged 1 commit into from
Oct 13, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 32 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
gominer is an application for performing Proof-of-Work (PoW) mining on the
Decred network after the activation of
[DCP0011](https://github.com/decred/dcps/blob/master/dcp-0011/dcp-0011.mediawiki)
using BLAKE3. It supports solo mining using OpenCL and CUDA devices.
using BLAKE3. It supports solo and stratum/pool mining using OpenCL and CUDA
devices.

[User Reported Hashrates](#user-reported-hashrates)

Expand Down Expand Up @@ -50,7 +51,7 @@ aforementioned `dcrd.conf` file and restarting `dcrd`.
your setup.

```
./gominer -B
gominer -B
```

### Solo Mining on Mainnet
Expand All @@ -60,7 +61,35 @@ credentials as well as `dcrd` with a `miningaddr`. Once the credentials and
mining address have been configured, simply run gominer to begin mining.

```
./gominer
gominer
```

### Stratum/pool Mining on Mainnet

#### Mining with a Pool Based on Dcrpool

The username for pools running [dcrpool](https://github.com/decred/dcrpool) is
the payment address for receiving rewards and a unique name identifying the
client formatted as `address.name`.

Run the following command replacing the `pooldomain:port` with the appropriate
domain name and port of the desired pool to connect to and the `address.name`
as previously described:

```
gominer --pool stratum+tcp://pooldomain:port --pooluser address.name
```

#### General Pool Mining

There is no other known pool software aside from
[dcrpool](https://github.com/decred/dcrpool), that supports the latest Decred
consensus rules at the current time. However, as long as the pool software
supports the stratum protocol with the same semantics implemented by `dcrpool`,
the following command should serve as a starting point:

```
gominer --pool stratum+tcp://pooldomain:port --pooluser username --poolpass password
```

## Status API
Expand Down
Loading