这个页面尚未被翻译。 如果您愿意协助翻译,请参见 README
Before starting, you already need to have a wallet configured and working. The pool needs to know your wallet address to be able to send payments there. See the Accepting Monero guide for more information.
Before mining, you should decide if it is worth it or not for you. You have to decide this for yourself, based on your power costs and the hardware that you have available. There are many sites, such as CryptoCompare that allow you to enter your miner's speed and power draw, and it will show you the profit (or loss) per week/month.
The first step is to downloading the miner and P2Pool software onto your computer;
37889
in your firewall for better connectivity. (Optional)./p2pool --host NODE_IP_ADDRESS --wallet WALLET_ADDRESS
.NODE_IP_ADDRESS
should be 127.0.0.1
.WALLET_ADDRESS
must be your main address but not subaddress. (Main addresses start with 4
, subaddresses start with 8
)See the official docs for more details about P2Pool.
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 for more details about XMRig.
Some anti-viruses flag XMRig as malware because it is often deployed to infected computers to mine without the owner's consent. As it is your computer and you are configuring the miner to mine for you, it is safe to add XMRig to your anti-virus whitelist.
On some CPUs, XMRig tries to increase performance by disabling certain
features like your CPU's instruction prefetcher. These operations
require root/administrator, so try right clicking xmrig.exe and
running it as administrator, or running sudo ./xmrig
on other
systems.
Find the line in config.json that says algo: null
and change it to
algo: "rx/0"
. By default, XMRig expects the pool to tell it which
hashing algorithm to use.
Taken from the MSDN:
You may also need to launch the miner as administrator.
Firstly stop the miner (if it's running), run the following commands to enable large pages and then start the miner as root:
sudo sysctl -w vm.nr_hugepages=1168
sudo ./xmrig
You may have to increase 1168 depending on how many NUMA nodes your CPU(s) have.
Huge pages are not supported on macOS.
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.
Additionally, any blocks found must mature before they can be paid out. This takes 60 blocks (approx. 2 hours).
An active Monero mining community on Reddit is /r/MoneroSupport. You can also join #monero-pools on Libera or Matrix (#monero-pools:monero.social).