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…

  • snekerpimp@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    4 months ago

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