Skip to content

Commit

Permalink
Use P2Pool for XMRig Guide
Browse files Browse the repository at this point in the history
Change XMRig pool mining guide to p2pool.
  • Loading branch information
HardenedSteel committed Sep 10, 2024
1 parent 601b25b commit ef2d5b7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 47 deletions.
64 changes: 18 additions & 46 deletions _i18n/en/resources/user-guides/mine-to-pool.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,57 +16,34 @@ hardware that you have available. There are many sites, such as
that allow you to enter your miner's speed and power draw, and it will
show you the profit (or loss) per week/month.

## Download Miner
## Downloading The Required Software

The first step is to download mining software onto your computer.
The first step is to downloading the miner and P2Pool software onto your computer.

### Windows
You can download XMRig from: [XMRig.com](https://xmrig.com/download)
You can download P2Pool from: [P2Pool Github Repo](https://github.com/SChernykh/p2pool/releases/latest)

The XMRig developer provides pre-built binaries for Windows
users. They are available on the [GitHub release
page](https://github.com/xmrig/xmrig/releases/latest).
## Configuring P2Pool

Scroll down until you see `xmrig-VERSION-msvc-win64.zip`. Download
this file and extract the archive somewhere memorable, like your desktop.
1. Open port `37889` in your firewall for better connectivity. (Optional)
2. Run `./p2pool --host NODE_IP_ADDRESS --wallet WALLET_ADDRESS`.

### Ubuntu Linux
2.1 It's suggested to run your own node, if that's the case `NODE_IP_ADDRESS` should be `127.0.0.1`.
2.2 `WALLET_ADDRESS` must be your main address but not subaddress. (Main addresses start with `4`, subaddresses start with `8`)

The XMRig developer provides pre-built binaries for Ubuntu Bionic (18.04) and Focal (20.04). They may work on other Ubuntu versions, and on other
distributions, but this is not guaranteed.
3. Wait for the synchronization, It should take no more than 5-10 minutes.

These binaries are available on the [GitHub release
page](https://github.com/xmrig/xmrig/releases/latest).
See the [official docs](https://github.com/SChernykh/p2pool/blob/master/docs/COMMAND_LINE.MD) for more details about P2Pool.

Scroll down to 'Assets' until you see the correct version for your system. Download
this file, extract the archive somewhere memorable, like your desktop.
## Configuring XMRig

### Other distributions and operating systems

Binaries are available for various distributions and operating systems, but you can also build the miner by yourself. Take a look at [XMrig's docs](https://xmrig.com/docs/miner)

## Selecting a pool

There are lots of pools to choose from. You can find a list at
[miningpoolstats.stream/monero](https://miningpoolstats.stream/monero).

Choosing a larger pool means that you will see more frequent (but
smaller) payouts, but choosing a smaller pools helps keep the network
decentralised. [Miners will not lose any revenue by mining on a
smaller pool](https://redd.it/g6uh2l).

## Configuring the miner

See the [official docs](https://xmrig.com/docs/miner/config), for instructions and suggestions.

## Starting the miner

Windows users can double click on xmrig.exe. Users of other operating
systems should `cd` into the directory that contains XMRig and then
type `./xmrig` and press return.
Run `./xmrig -o 127.0.0.1:3333` to start mining.

If you see green messages saying that shares have been accepted,
congratulations, everything is working!

See the [official docs](https://xmrig.com/docs/miner/config) for more details about XMRig.

## Troubleshooting

### Anti-virus keeps removing XMRig
Expand Down Expand Up @@ -125,7 +102,7 @@ Huge pages are not supported on macOS.

### Balance Not Increasing

Most pools are <abbr title="Pay Per Last N Shares">PPLNS</abbr> pools,
P2Pool uses <abbr title="Pay Per Last N Shares">PPLNS</abbr> system,
which means that you only get paid when a miner on the pool finds a
block. If the pool you are mining on is small, this can take a few
days to weeks.
Expand All @@ -142,10 +119,5 @@ Libera](https://web.libera.chat/?channel=#monero-pools) or Matrix (#monero-pools

## Going Futher

* Consider using a subaddress just for mining, to prevent your address
being linked to different services.
* [Consider using Tor to connect to the
pool](https://xmrig.com/docs/miner/tor) (or to a hidden service pool
like HashVault, RespectXMR and MoneroOcean). This hides mining
activity from your ISP, and prevents the pool from knowing who you
are.
* [Consider using Tor to connect to thepool](https://xmrig.com/docs/miner/tor). This hides mining
activity from your ISP, and prevents the pool from knowing who youare.
2 changes: 1 addition & 1 deletion resources/user-guides/mine-to-pool.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: user-guide
title: How to mine on a pool with XMRig
title: How to mine on P2Pool with XMRig
permalink: /resources/user-guides/mine-to-pool.html
outdated: False
---
Expand Down

0 comments on commit ef2d5b7

Please sign in to comment.