SChernykh / p2pool

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

[request] Support behavior change via config file #191

Closed hinto-janai closed 1 year ago

hinto-janai commented 1 year ago

This is a request for P2Pool to support behavior changes via a config file rather than command line arguments, like XMRig.

PR changes:

  1. Add command line arguments in JSON-form to config.json
  2. Create a regular non-JSON config file: p2pool.conf
  3. Add a Configuration section to README

The config files have the current v2.2.1 options and the values are set to the current defaults. I can remove and squash if JSON or conf is preferred. The README has a placeholder for the config name too.