Monero Mining

243 readers
1 users here now

founded 1 year ago
MODERATORS
1
 
 

Recently I've taken the docker compose example from SChernykh and have started a p2pool for Reddthat!

https://github.com/SChernykh/p2pool/tree/master/docker-compose (many thanks here!). After some minor changes I removed the IP listing from statistics and increase the visibility to 100 "supporters". It's viewable at donate.reddthat.com. (if @[email protected] wants the code change I can provide diff)

The idea was to also allow people to donate to instances via CPU instead of actual $.

My question for the community is whether I am creating a centralised pool or am I still participating in a decentralized fashion?

2
3
 
 

Gupaxx is a fork of Gupax integrating the XMRvsBeast Raffle, it is also a maintained software. It is made to make in the most easy way possible mining on P2Pool while optionally participating (but you will want to 😉) in the XMRvsBeast raffle.

4
 
 

Since the dramatic decrease in hashrate[1] on 29/05/24 from ~2.8 GH/s to ~1.8 GH/s as of 01/06/24. This has shaken up the pool distribution[2]; as a result, nanopool now holds ~576 MH/s (30% of the total 1.8 GH/s.)This isn’t a five-alarm fire, but it is mildly concerning. This can potentially repeat the MineXMR 51% scare of 2022[3]. If any of you fine folks would consider mining on a decentralised pool such as p2ool[4], now is the time. 

Ps,  I am in no way affiliated with p2ool. Happy mining.

[1] https://www.coinwarz.com/mining/monero/hashrate-chart [2] https://miningpoolstats.stream/monero [3] https://cointelegraph.com/news/monero-community-concerned-as-leading-mining-pool-nears-51-of-ecosystem-s-total-hash-rate [4] https://p2pool.io/#pool

~baz

5
 
 

There are a lot of cats, but only a few photos.These are the stray cats on campus. There are a lot of stray cats in the campus, and sometimes there are good people to feed these cats cat food. But during the school holidays, when the students are on vacation, the cats can't eat as usual. During the holidays, they have to starve. I am a cryptocurrency enthusiast and a college student. Here to collect donations from cat lovers or caring people in the community. The money will be used to provide cat food to the stray cats and bring them warmth! If you donate money, or you promote the awareness of protecting animals and loving animals, I would like to thank you on behalf of cat lovers! If there is extra money, we will use it to treat the sick cat.🥰 As suggested, we will use the extra money to spay or neuter the cats and look for people who are willing to adopt stray cats. 👍 👍
My contact information: [email protected]

This is an application for a fundraiser. https://kuno.anne.media/fundraiser/mksi/

6
7
 
 

Head on over to https://gupax.io/ and start mining Monero like a champ. TODAY!

8
 
 

cross-posted from: https://monero.town/post/2706953

Available @ https://github.com/Cyrix126/gupaxx

Hop into https://matrix.to/#/#xmrvsbeast:monero.social if you have questions or issues.

9
 
 
10
1
my p2pool setup (monero.town)
submitted 6 months ago* (last edited 5 months ago) by [email protected] to c/[email protected]
 
 

Someone on Matrix thought it would be useful for me to post my p2pool setup for people to see annd use if they wanted. So here it is.

  1. node configuration: in my monerod node folder I have a file called "start.sh" with 755 permissions. the file contains

./monerod --config-file=./persist/monero.conf

the monero.conf file in "./persist/monero.conf" contains

##### Add Priority Nodes (suggested by P2Pool) #####

#

add-priority-node=p2pmd.xmrvsbeast.com:18080

add-priority-node=nodes.hashvault.pro:18080

#

##### DNS Settings (suggested by P2Pool) #####

#

disable-dns-checkpoints=1

enable-dns-blocklist=1

#

##### RPC Setup #####

#

#restricted RPC

rpc-use-ipv6=1

rpc-restricted-bind-ip=0.0.0.0

rpc-restricted-bind-ipv6-address=::

rpc-restricted-bind-port=18089

rpc-ssl=autodetect

rpc-ssl-certificate=./persist/MoneroCert

rpc-ssl-private-key=./persist/MoneroCertPrivateKey

#Make rpc public

confirm-external-bind=1

public-node=1

#

##### ZMQ (for P2Pool) #####

#

zmq-pub=tcp://127.0.0.1:18083

#

##### Peers and rate limits #####

#

#node connects to peers

out-peers=8

#

#connections to node from other peers

in-peers=8

#

#limit uplink speed to ~8mbps

limit-rate-up=1024

#

#limit downlink to ~24mbps

limit-rate-down=3072

the cert files mentioned were created using ./extras/monero-gen-ssl-cert

  1. p2pool configs

Again i use a file called "start.sh" with 755 permissions for this because i am lazy

./p2pool --host 127.0.0.1 --mini \ --wallet 459hQmByGGyZaSSV51vygKdfBkAoyVHhjTq65bUipJADN915JXZxq6fNxjbBUVzGvPMm8iXQT6TxmiZVBn5pCkhi1EiXA5p

That part is pretty simple. Now for a little deviation. I use xmrig-proxy for this but you could just point regular xmrig directly to p2pool. my xmrig-proxy also has a "start.sh" with 755 which looks like this.

pool="127.0.0.1"

port="3333"

host=$(hostname)

#

./xmrig-proxy --algo=randomx --donate-level=0 \ -b 0.0.0.0:3331 \ -o $pool:$port -u x+170000

the "-u x+170000" is the total difficulty i want but could most likely be left out.

  1. miner config

Again I have a "start.sh" with 755 permission

pool="ip of xmrig proxy or p2pool"

port="port xmrig proxy or p2pool is listening on"

host=$(hostname)

TotalThreads=$(grep -c ^processor /proc/cpuinfo)

MinerThreads=$(echo "$TotalThreads/2" | bc)

#

sudo ./xmrig -o $pool:$port --donate-level=0 --algo=randomx \

-u +20000 \

--rig-id $host --huge-pages-jit --randomx-1gb-pages -t $MinerThreads \

--cpu-no-yield --cpu-memory-pool -1 --cpu-max-threads-hint 90

the reason i mentioned deviation above is because if you have all your miners and the p2pool/monerod on the same network you COULD just point each xmrig directly at the p2pool instead of doing it through xmrig-proxy like i have done here. I was using it to keep from duplicating work when i used centralized mining pools and it was lowering my total hashrate. However, if you had miners on multiple different networks say at home and at a friends house or vacation home, etc you could put up an xmrig-proxy and have that connect to your p2pool and have all miners on that network connect to that xmig-proxy in order to limit the requests to your p2pool from multiple clients on the same network. So instead of 10 requests from 10 miners on your vacation house network there would only be one request from the proxy and then those 10 miners would talk to the proxy locally

Edit: i like to run everything in screens, so

screen -S monero

cd directory/of/monerod

./start.sh

CTRL+A D

screen -S p2pool

cd directory/of/p2pool

./start.sh

cTRL+A D

screen -S proxy

cd directory/of/xmrig-proxy

./start.sh

CTRL+A D

screen -S miner

cd directory/of/xmrig

./start.sh

CTRL+A D

11
 
 

I have a Proxmox server on my LAN on my home network.

I have one LXC container running Debian 12 and the Monero CLI tools provided at the following URL: (https://downloads.getmonero.org/cli/linux64). All LXC containers referenced herein will be running Debian 12.

On that first container, I run 'monerod' in a screen session, so I can detach and leave it running 24/7. If there is a better way to do this, like having it autostart upon reboot, I would like to learn how to do that, but I will still want to see the live log somehow, maybe using tails on a logfile or something, but I don't know where that logfile is located or how best to view the live status of the daemon.

Also on that first container, I'd like to run the cli wallet and mine Monero on that machine, which I'm not familiar with how to do that using the CLI wallet.

Next, I wanted to create another LXC container that is only running the CLI wallet, but connects to the node running on the first machine. If this is possible and works, I'd do a few more until I max out on CPU and RAM utilization of my Proxmox host.

Lastly, I'd also like to have the blockchain only stored on that one LXC host, so my existing blockchains on my other PC's where I'm running the GUI can be eliminated, if that makes any sense, and have those GUI wallets point to my node running on the first LXC container running the 'monerod' daemon 24/7.

In summary, what I need help with is the following:

  1. How to have 'monerod' autostart on the first LXC container (ip addr: 192.168.10.210)
  2. How to view live view of the monerod daemon doing it's thing
  3. How to mine Monero from the wallet cli on first LXC container
  4. How to mine Monero from the wallet cli on second LXC container (ip addr: 192.168.10.211) that uses a remote node, specified as the first container referenced in step 1 above.
  5. How to configure GUI to mine using the LXC container running the node daemon as a remote node

I'd appreciate any links with instructions that might help me do all or part of what I'm trying to accomplish using the home server. If suggestions prove out on my network, I'm happy to fully document the entire setup, including the steps to configure Proxmox for the community to do the same thing.

Best Regards, prancing389

12
 
 

cross-posted from: https://monero.town/post/2147915

The calculator takes into account historical data and also calculates the odds for you. Needless to say joining the raffle is a no brainier. 🧠

P2Pool already is the best way to mine Monero. Now with the Bonus Hashrate raffle (https://xmrvsbeast.com) it is the best way to mine, period.

You can now verify that all selections are actually random and no cheating is taking place by the raffle admin. Click on "Recent Winners" and follow the verification instructions.

Join us (1800+ miners) in making P2pool #1 in dominance as it should be and Monero mining fully decentralized! (https://moneroj.net/p2pool_dominance/)

13
 
 

cross-posted from: https://monero.town/post/1975340

Mining Monero on P2Pool has never been more fun!

Visit the rules page to see how to participate and win BIG!

https://xmrvsbeast.com/p2pool/rules.html

14
15
 
 

cross-posted from: https://monero.town/post/1681563

To keep the raffle fair and competitive miners are now required to have a share in the PPLNS window to win the raffle.

You can now register an address to the raffle without having to wait to be in the PPLNS window.

A whale donor round was added for miners donating 100kH/s or more.

Please see the rules page for more details.

Let's get that hashrate up! Good luck and have fun. ;)

16
17
1
submitted 9 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]
 
 

"We are now actively developing a new testnet using RandomX."

18
 
 

Figured you guys might enjoy my little winter project. I have an always-on server + my gaming PC in my office set up with xmrig. I have electric baseboard heaters in my apartment (PNW, USA) so as long as I'm not heating my office past my normal setpoint the electricity is essentially free.

How I set this up:

  • ESP32 flashed with ESPHome + MCP9808 temperature sensor takes a reading of the ambient temperature every minute and sends it to homeassistant
  • Homeassistant feeds that temperature (as well as a controllable setpoint) to a python script
  • Python runs a PID controller based on the room temp and setpoint
  • I use the XMRIG http API to pause/resume and dynamically control the number of threads used for mining

Here's the result: image

Keeping my room +/- 0.5 degrees from the setpoint while mining

If you guys are interested I can post more details. I've had my baseboards off for over a month now with outside temps below freezing.

19
 
 

Apparently, the Nintendo Switch gets 230 hashes per second mining #Monero

Jpeg Image

Can you mine crypto with a Nintendo Switch? https://cryptonews.net/news/mining/27918548/

Interestingly, RandomX, the Monero mining algorithm, allows for alternative experiments like this due to being ASIC-resistant. Miners can use simple CPUs or gaming devices to run the algorithm and try their luck at block discovery while supporting network security.

20
1
submitted 10 months ago* (last edited 9 months ago) by [email protected] to c/[email protected]
 
 

⛏️ Fair CPU pool mining introduction
Monero (XMR) is one of the only projects
which offer a way of mining in a pool as it should be implemented,
with P2Pool:

  • Fair - Instant payouts according to your share.
  • Decentralized - No pool owners - No centralized party handling the P2Pool.
  • Decentralized - Pool participants - Due to the RandomX algorithm being used, no specialized Antic miners can be built for XMR. Meaning that an average Joe can still participate and earn shares with their CPU.
  • Private - XMR itself continuously aims for the best possible privacy cryptography can offer.

Source Code / Links:

⛏️ Fair CPU pool mining guide
This guide will help you setting up a fair Monero miner,
please note, that you still will have to create your own config files for:
Gupax, P2Pool and XMRig

  1. Use Monero GUI to create a wallet
  2. Use Monero GUI to run your own monerod instance (Monero Node daemon),
    configure following startup flags under:
    Monero GUI => Settings => Node => Daemon startup flags:
    --zmq-pub=tcp://127.0.0.1:18083 
    --out-peers 32 
    --in-peers 64 
    --add-priority-node=uwillrunanodesoon.moneroworld.com:18089 
    --add-priority-node=nodes.hashvault.pro:18081 
    --disable-dns-checkpoints 
    --enable-dns-blocklist 
    --prune-blockchain 
    --sync-pruned-blocks 
    --db-sync-mode=safe
    --log-level 1
    

These startup flags will help with:

  • Blocking malicious nodes
  • Keeping your copy of the blockchain as small as possible
  • Provide logging incase a priority-node goes down
    (Use Monero Fail for replacements)
  1. Configure the P2Pool + XMRig binary paths in Gupax under:
    Gupax => Gupax => P2Pool/XMRig PATHs
  2. Use Gupax to run P2Pool,
    connect to your local monerod instance by configuring P2Pool as following:
    Gupax => P2Pool => P2Pool Mini => Fill in the following:
    Name = Local Monero Node
    IP = 127.0.0.1
    RPC = 18081
    ZMQ = 18083
    Out-peers = 32
    In-peers = 64
    
  3. Use Gupax to run XMRig,
    connect to your local P2Pool as following:
    Gupax => XMRig => Command arguments (configure --threads as desired):
    -c config.json 
    -o 127.0.0.1:3333 
    --http-host 127.0.0.1 
    --http-port 18088 
    --threads 30
    

This will make it possible to load a config.json file from the same directory as the XMRig binary

Notes

  • If you're gonna run on normal end-user hardware (e.g. Desktop/Laptop/Smartphone), then I'd recommend to mine on P2Pool Mini instead of the main P2Pool
  • Your P2Pool wallet adress is public, periodically move mined funds to a new, truly private XMR wallet
  • My use-case? I mine to support the cause and to earn a little back from heating my room during winter times 😄
21
 
 

Most notable rumor is 8 channel ddr5 at 8500 MHz. They are efficient mobile processors tho... Mac forums had he most informative discussion I could find.

22
 
 

I've had an xmrig process running on Linux terminate after printing "Aborted." twice in the last week, never seen this before. Anybody know what might be the cause? System was recently upgraded to Debian 12 and had an NVMe stick put in.

23
 
 

The bug fixed in cURL 8.4.0 (CVE-2023-38545) is a nasty one, but it seems rather harmless in our context.

First of all, if you don’t use socks5, this issue should be irrelevant. (But do your own research. Source code is there for you to freely study, modify, compile.)

According to the blog, the bug could be exploited only if a socks5 proxy user is tricked to resolve a crazy long hostname (~1024 characters+), which sounds unlikely; except if your direct peer is evil, they might be able to send you a crazy long hostname instead of a numeric IP… maybe? However, if you’re on socks5 proxy, the attacker can’t see your real IP to begin with, so they can’t attack you (I think).

The only attack vector my stupid head can think of is: if for some reason you use both clear connections and socks5 connections, then a lucky attacker who notices your behavior can hit your real IP when you’re on Tor, using your wallet address as an identifier. (Tor exit nodes are public, so they know someone is on Tor.) Even then, maybe the worst thing that could happen is that your p2pool crashes due to buffer overrun.

24
 
 

Sophon SG2042R SOC Risc-V 64cores (2ghz), 64mb-cash, 8gb DDR4 3200

25
view more: next ›