stratum self-select doc update

This commit is contained in:
Jethro Grassie 2019-11-28 00:28:19 -05:00
parent d3d80b0084
commit b790700c32
No known key found for this signature in database
GPG key ID: DE8ED755616565BB

View file

@ -15,20 +15,16 @@ To address these concerns, I've implemented a new, experimental and optional
to mine on. to mine on.
What follows are the instructions to test this new mode and the changes made to What follows are the instructions to test this new mode and the changes made to
the stratum messages. For a miner to test against the pool, there is a very the stratum messages. For a miner to test against the pool,
simple miner, [monero-powpy](https://github.com/jtgrassie/monero-powpy) [XMRig](https://github.com/xmrig/xmrig) already has this implemented.
(`stratum-ss-miner.py`), and also a hastily cobbled together branch of Alternatively there is a very simple demonstration miner,
[XMRig](https://github.com/jtgrassie/xmrig/tree/stratum-ss). [monero-powpy](https://github.com/jtgrassie/monero-powpy)
(`stratum-ss-miner.py`).
## Building
The only variation to the standard build instructions in the
[README](./README.md#compiling-from-source), is that you'll first need to fetch
and compile the latest Monero ***master*** branch.
## Running ## Running
Start your newly compiled `monerod` and `monero-wallet-rpc`. For example, in one Start your `monerod` and `monero-wallet-rpc`. For example, in one
shell: shell:
cd "$MONERO_ROOT"/build/Linux/master/release/bin cd "$MONERO_ROOT"/build/Linux/master/release/bin
@ -43,20 +39,19 @@ And in another shell:
Next, in a third shell, run `monero-pool`. Instructions per the Next, in a third shell, run `monero-pool`. Instructions per the
[README](./README.md#running). [README](./README.md#running).
Lastly you'll need to run a miner that supports this new stratum mode (see Lastly you'll need to use a miner that supports this new stratum mode (see
above): above):
- If using [XMRig](https://github.com/xmrig/xmrig), just adjust your pool
object in your `config.json` file setting the `self-select` field to your
daemon address (e.g. `"self-select": "localhost:28081"`).
- If using [monero-powpy](https://github.com/jtgrassie/monero-powpy), install - If using [monero-powpy](https://github.com/jtgrassie/monero-powpy), install
the requirements per the projects the requirements per the projects
[README](https://github.com/jtgrassie/monero-powpy/blob/master/README.md), [README](https://github.com/jtgrassie/monero-powpy/blob/master/README.md),
then just run the `stratum-ss-miner.py` miner, optionally editing the then just run the `stratum-ss-miner.py` miner, optionally editing the
parameters first. parameters first.
- If using [XMRig](https://github.com/jtgrassie/xmrig/tree/stratum-ss), edit
your pool object in your `config.json` file setting the `algo` field to
`"algo": "cryptonight/r"` and setting the `self-select` field to your daemon
address (e.g. `"self-select": "localhost:28081"`).
## Specification ## Specification
What follows are the stratum message and flow changes required to enable pool What follows are the stratum message and flow changes required to enable pool