-
m-relay
<kanodecat:matrix.org> hello I was wondering if anyone has created a script or if there's a feature flag/argument in monero-gui that allows it to run p2pool from the command line. Due to unreliable power here and other reasons, I've been using xmrig as a cron job that auto-starts at boot. However, I'm trying to switch to p2pool and haven't found any flags or options in either monero-gui or monerod that allow this.
-
m-relay
<kanodecat:matrix.org> I've attempted to create a script to mimic what monero-gui does, but I'm still working out some of the details. Here's what I have so far:
-
m-relay
<kanodecat:matrix.org> ```#!/usr/bin/env bash
-
m-relay
<kanodecat:matrix.org> MONERO_WALLET_ADDRESS="your-monero-wallet-address"
-
m-relay
<kanodecat:matrix.org> BLOCKCHAIN_LOCATION="your-blockchain-location"
-
m-relay
<kanodecat:matrix.org> ./monerod \
-
m-relay
<kanodecat:matrix.org> --data-dir BLOCKCHAIN_LOCATION \
-
m-relay
<kanodecat:matrix.org> --rpc-bind-ip 127.0.0.1 \
-
m-relay
<kanodecat:matrix.org> --rpc-bind-port 18081 \
-
m-relay
<kanodecat:matrix.org> --zmq-pub tcp://127.0.0.1:18083 \
-
m-relay
<kanodecat:matrix.org> --enable-dns-blocklist
-
m-relay
<kanodecat:matrix.org> any help would be appreciated
-
m-relay
<moneroforum:matrix.org> ^ great question, as it's how the original design of bitcoin was, every mining node was a node
-
m-relay
<moneroforum:matrix.org> so makes total sense should be able to mine through the monero-gui with P2Pool, as it's supposed to be the option that is shilled to mine, alongside solomining, instead of supporting centralized pools, even if they new centralized mining pools tbh, fuck that
-
m-relay
<moneroforum:matrix.org> with virtual machines, people can have their things compartmentalize anyways, with like, if not doing the gui but cli instead
-
m-relay
<moneroforum:matrix.org> can have monerod running in 1 VM, then monero-wallet-cli running in a 2nd VM that points to the first one through local ip on the dedicated rig for that or whatever
-
m-relay
<moneroforum:matrix.org> then should also be able to hopefully do monero-gui in 1 VM and P2Pool in an other VM
-
m-relay
<moneroforum:matrix.org> idk the answer to that tho, so, will stay informed from this channel if is doable, interesting O_O
-
DataHoarder
why so many vms, you can run p2pool directly
-
DataHoarder
this is a problem in bash scripting and background processes, not monero, so probably not for #monero-gui
-
m-relay
<moneroforum:matrix.org> because compartmentalization is awesome 👍️
-
m-relay
-
m-relay
<moneroforum:matrix.org> in linux u even have that package thing called "apparmor" that compartmentalize running apps within the system, pretty awesome 👍️
-
m-relay
<datahoarder:monero.social> if you want compartmentalization p2pool has defined Dockerfile you can use with podman or similar
github.com/SChernykh/p2pool/blob/master/Dockerfile
-
m-relay
<datahoarder:monero.social> user asked for bash help. you probably will find better help on #p2pool-log:monero.social channel anyhow, kancat
-
m-relay
<datahoarder:monero.social> why leaving/joining, is this another kitty 👀 plowsof
-
plowsof
just our friendly neighbourhood monerologs.net enjoyer 😾
-
m-relay
<moneroforum:matrix.org> ^ lowkey docker is kind of too much of a pain tho, VMs are easy and user frendly
-
m-relay
<moneroforum:matrix.org> while sure, you could docker to literally min/max that RAM consumption and CPU cycles
-
m-relay
<moneroforum:matrix.org> VMs are still awesome and are still used, like what, u running single core host nowadays or somethin?
-
m-relay
<moneroforum:matrix.org> pretty sure even SBC clusters should be able to run full sized VMs nowadays, and again, they user frendly
-
m-relay
<moneroforum:matrix.org> let's keep monero for eryone, right lol? even the ones doing that gui thing should be able to have the security of someone that does the cli, just sayin
-
m-relay
<datahoarder:monero.social> I never said docker. Said podman. Again you are not helping the user, you are asking them to make a cluster of VMs.
-
m-relay
<moneroforum:matrix.org> since it's security wise to run the VMs, having a dedicated rig just for that is pretty good anyways, so like "a cluster of VMs" would be maybe like just 2 - 3 VMs max lol, is not that much tbh
-
DataHoarder
"help how do I launch a background process in bash" -> "to do this you need 2-3 VMs"
-
DataHoarder
at that point just run the services on systemd each 😆
-
m-relay
<moneroforum:matrix.org> well, whatever, do u have the answer if gui can or what?
-
DataHoarder
as said, this is not even GUI/CLI related, just bash help. #p2pool-log should be able to get you in contact with p2pool users
-
m-relay
<moneroforum:matrix.org> idk the answer to that, which was what's was being asked
-
DataHoarder
then don't invent a new random thing :)
-
DataHoarder
you can use nohup / & to launch something to the background
-
m-relay
<moneroforum:matrix.org> well idk lol
-
DataHoarder
but it's probably not what you want, instead make monerod a service or something so it stays along the system
-
DataHoarder
p2pool might as well but whatever. You could always just launch them individually
-
DataHoarder
you also want to mine using xmrig and not embedded miners, if you want higher hashrate efficiency
-
m-relay
<ofrnxmr:xmr.mx> Deleting does work
-
m-relay
<ofrnxmr:xmr.mx> Doesnt*
-
m-relay
<datahoarder:monero.social> joined to leave a clown emoji. epic
-
m-relay
<datahoarder:monero.social> then left
-
m-relay
<ofrnxmr:xmr.mx> Its obv the kitten
-
m-relay
<ofrnxmr:xmr.mx> Only had 4 more days on the ban too :(
-
m-relay
<plowsof:matrix.org> someone called mining1337 tried to join here then made another account after they released that was banned 😾
-
m-relay
<ofrnxmr:xmr.mx> "someone"
-
m-relay
<datahoarder:monero.social> it's outright unhelpful as well
-
m-relay
<kanodecat:matrix.org> thank you I'll talk to those guys as well but I never was going to run that in a container I was just planning on running that as a startup script that cron would call on reboot
-
m-relay
<kanodecat:matrix.org> hello I was wondering if anyone has created a script or if there's a feature flag/argument in monero-gui that allows it to run p2pool from the command line. Due to unreliable power here and other reasons, I've been using xmrig as a cron job that auto-starts at boot. However, I'm trying to switch to p2pool and haven't found any flags or options in either monero-gui or monerod that allow this.
-
m-relay
<kanodecat:matrix.org> I've attempted to create a script to mimic what monero-gui does, but I'm still working out some of the details. Here's what I have so far:
-
m-relay
<kanodecat:matrix.org> ```
-
m-relay
<kanodecat:matrix.org> #!/usr/bin/env
-
m-relay
<kanodecat:matrix.org> MONERO_WALLET_ADDRESS="your-monero-wallet-address"
-
m-relay
<kanodecat:matrix.org> BLOCKCHAIN_LOCATION="your-blockchain-location"
-
m-relay
<kanodecat:matrix.org> ./monerod \
-
m-relay
<kanodecat:matrix.org> --data-dir BLOCKCHAIN_LOCATION \
-
m-relay
<kanodecat:matrix.org> --rpc-bind-ip 127.0.0.1 \
-
m-relay
<kanodecat:matrix.org> --rpc-bind-port 18081 \
-
m-relay
<kanodecat:matrix.org> --zmq-pub tcp://127.0.0.1:18083 \
-
m-relay
<kanodecat:matrix.org> hello I was wondering if anyone has created a script or if there's a feature flag/argument in monero-gui that allows it to run p2pool from the command line. Due to unreliable power here and other reasons, I've been using xmrig as a cron job that auto-starts at boot. However, I'm trying to switch to p2pool and haven't found any flags or options in either monero-gui or monerod that allow this.
-
m-relay
<kanodecat:matrix.org> I've attempted to create a script to mimic what monero-gui does, but I'm still working out some of the details. Here's what I have so far:
-
m-relay
<kanodecat:matrix.org> ````
-
m-relay
<kanodecat:matrix.org> #!/usr/bin/env bash
-
m-relay
<kanodecat:matrix.org> MONERO_WALLET_ADDRESS="your-monero-wallet-address"
-
m-relay
<kanodecat:matrix.org> BLOCKCHAIN_LOCATION="your-blockchain-location"
-
m-relay
<kanodecat:matrix.org> ./monerod \