From ef2d5b77350fa322078a3dec3ac678ccc477060c Mon Sep 17 00:00:00 2001 From: HardenedSteel <19209715+HardenedSteel@users.noreply.github.com> Date: Tue, 10 Sep 2024 12:02:09 +0300 Subject: [PATCH] Use P2Pool for XMRig Guide Change XMRig pool mining guide to p2pool. --- .../en/resources/user-guides/mine-to-pool.md | 64 ++++++------------- resources/user-guides/mine-to-pool.md | 2 +- 2 files changed, 19 insertions(+), 47 deletions(-) diff --git a/_i18n/en/resources/user-guides/mine-to-pool.md b/_i18n/en/resources/user-guides/mine-to-pool.md index 95d1db1a1b..d021127914 100644 --- a/_i18n/en/resources/user-guides/mine-to-pool.md +++ b/_i18n/en/resources/user-guides/mine-to-pool.md @@ -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 @@ -125,7 +102,7 @@ Huge pages are not supported on macOS. ### Balance Not Increasing -Most pools are PPLNS pools, +P2Pool uses PPLNS 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. @@ -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. diff --git a/resources/user-guides/mine-to-pool.md b/resources/user-guides/mine-to-pool.md index c574c29aec..dc0fc62d96 100644 --- a/resources/user-guides/mine-to-pool.md +++ b/resources/user-guides/mine-to-pool.md @@ -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 ---