this post was submitted on 22 Jul 2024
2 points (66.7% liked)

Monero

147 readers
2 users here now

Monero (XMR) is a decentralized cryptocurrency. It uses a public distributed ledger with privacy-enhancing technologies that obfuscate transactions to achieve anonymity and fungibility. Observers cannot decipher addresses trading monero, transaction amounts, address balances, or transaction histories.

The protocol is open source and based on CryptoNote, a concept described in a 2013 white paper authored by Nicolas van Saberhagen. The cryptography community used this concept to design Monero, and deployed its mainnet in 2014. Monero uses ring signatures, zero-knowledge proofs, "stealth addresses", and IP address–obscuring methods to obfuscate transaction details. These features are baked into the protocol, though users can optionally share view keys for third-party auditing. Transactions are validated through a miner network running RandomX, a proof-of-work algorithm. The algorithm issues new coins to miners, and was designed to be resistant to application-specific integrated circuit (ASIC) mining.

Monero has the third-largest developer community among cryptocurrencies, behind Bitcoin and Ethereum. Its privacy features have attracted cypherpunks and users desiring privacy measures not provided in other cryptocurrencies

Rules

  1. Don't do unto others what you don't want done unto you.
  2. No Porn, Gore, or NSFW content. Instant Ban.
  3. No Spamming, Trolling or Unsolicited Ads. Instant Ban.
  4. Stay on topic in a community. Please reach out to an admin to create a new community.

founded 2 years ago
MODERATORS
 

Hello all,

I am trying to set up Monero mining. I've set up the node which seems to have successfully syncrhonized the chain. In the wallet GUI I tried to start mining but:

  • Solo mining seems to work in the wallet (cpu usage jumps like crazy)
  • P2Pool mining seems to do nothing (no error, no cpu usage)

In order to investigate I ran the node from command line (though used the wallet flatpak location to save time):

> ./monerod --data-dir ~/.var/app/org.getmonero.Monero/.bitmonero/ --zmq-pub tcp://127.0.0.1:18083

...
2024-07-22 10:49:34.674	I SYNCHRONIZATION started
2024-07-22 10:49:48.106	I Synced 3198301/3198330 (99%, 29 left)
2024-07-22 10:49:59.445	I Synced 3198321/3198330 (99%, 9 left)
2024-07-22 10:50:04.277	I Synced 3198330/3198330
2024-07-22 10:50:04.278	I Synced 49 blocks in 26 seconds (1.884 blocks per second)
2024-07-22 10:50:04.278	I 
2024-07-22 10:50:04.278	I **********************************************************************
2024-07-22 10:50:04.278	I You are now synchronized with the network. You may now start monero-wallet-cli.
2024-07-22 10:50:04.278	I 
2024-07-22 10:50:04.278	I Use the "help" command to see the list of available commands.
2024-07-22 10:50:04.278	I **********************************************************************

status
Height: 3198341/3198341 (100.0%) on mainnet, not mining, net hash 2.32 GH/s, v16, 12(out)+0(in) connections, uptime 0d 0h 29m 29s

Now I downloaded a software called Gupax which embeds P2Pool and tried running P2Pool from there. This gives me logging but it's been running since yesterday and I still have extremely low CPU usage. In the log area I see things like:

...
2024-07-22 11:23:34.4823 SideChain add_block: height = 8219222, id = 1c75382013ffbb784cc4de936e57f0cee0d631ec398e852068e89eed22d3ccd0, mainchain height = 3198344, verified = 0
2024-07-22 11:23:34.4843 SideChain verified block at height = 8219222, depth = 0, id = 1c75382013ffbb784cc4de936e57f0cee0d631ec398e852068e89eed22d3ccd0, mainchain height = 3198344
2024-07-22 11:23:34.4845 SideChain new chain tip: next height = 8219223, next difficulty = 88888179, main chain height = 3198344
2024-07-22 11:23:34.4849 BlockTemplate base  reward = 0.600000000000 XMR, 0 transactions, fees = 0.000000000000 XMR, weight = 0
2024-07-22 11:23:34.4853 BlockTemplate final reward = 0.600000000000 XMR, weight = 23103, outputs = 592, 0 of 0 transactions included
2024-07-22 11:23:39.4504 SideChain add_block: height = 8219223, id = 20c3806cc4f277403b85e761b2c77428631a461b4b075e0e2fe000bc517b23dc, mainchain height = 3198344, verified = 0
2024-07-22 11:23:39.4526 SideChain verified block at height = 8219223, depth = 0, id = 20c3806cc4f277403b85e761b2c77428631a461b4b075e0e2fe000bc517b23dc, mainchain height = 3198344
2024-07-22 11:23:39.4528 SideChain new chain tip: next height = 8219224, next difficulty = 88949674, main chain height = 3198344
2024-07-22 11:23:39.4533 BlockTemplate base  reward = 0.600000000000 XMR, 0 transactions, fees = 0.000000000000 XMR, weight = 0
2024-07-22 11:23:39.4537 BlockTemplate final reward = 0.600000000000 XMR, weight = 23103, outputs = 592, 0 of 0 transactions included
...

Is this normal? Having <10% of CPU usage?

In the status area of Gupax the "Your P2Pool Hashrate" shows 0 H/s which seems to confirm that my box is not doing anything?

Everything in the P2Pool sections is green (Name/IP/RPC/ZMQ) and I am using my local monero node (localhost) though trying with a remote node yields the same results...

you are viewing a single comment's thread
view the rest of the comments
[–] snekerpimp@lemmy.world 2 points 3 months ago

Firewall rules maybe? Port forwarding the correct ports? 18080, 37888 and 37889 I believe are the correct ports to forward.