SChernykh / p2pool

Decentralized pool for Monero mining
GNU General Public License v3.0
1.08k stars 128 forks source link

Compile time option for a forced data directory change #198

Open BigmenPixel0 opened 2 years ago

BigmenPixel0 commented 2 years ago

In Monero flatpak, P2Pool exists in /app/bin and tries to create files there. I would like to make sure that at the build stage it is possible to be forcibly replaced by this directory and not use --data-dir.

SChernykh commented 2 years ago
cd /whatever/path/you/want
/app/bin/p2pool --wallet YOUR_ADDRESS

Problem solved.

BigmenPixel0 commented 2 years ago
cd /whatever/path/you/want
/app/bin/p2pool --wallet YOUR_ADDRESS

Problem solved.

Will it work in Monero GUI?

SChernykh commented 2 years ago

Ah, so it's GUI. It should be done in Monero GUI code that starts p2pool, yes it can be done.