Skip to content

Running A Pool

sum01 edited this page Feb 4, 2018 · 2 revisions

Running a pool

Use xCore's fork of NOMP, and make sure to use the upgrade branch of the repo, but note that it requires some patching to dependencies to work. Read #36 for full info.

If you want to try an untested, but patched fork, use the vcash branch of sum01's fork of NOMP.

Quick-Start

I won't re-write all the NOMP documentation, but after making sure you've followed it, here's some quick-start steps...

  1. npm update in the root directory.
  2. Get your local daemons default address. This cannot be one you created, but is the one marked default and created automatically.
  3. Get your address you want fee's to go to. Multiple addresses can optionally be used.
  4. Open pool_configs/vcash_example.json in a text-editor.
  5. Change Pool_XVC_Address to your local daemon's default address (from step 2)
  6. Change the rewardRecipients addresses to the addresses you want your fee's to be sent to (from step 3). If you're only using one, delete the others. You can also change the number to whatever fee percent you want.
  7. Optionally, change any other config options in the json file. Read the documentation for what they do.
  8. Save the changes to vcash_example.json and close it.
  9. Run your local daemon, and unlock it. This is necessary so the pool software can make payments to miners.
  10. Run redis-server after making sure you've secured it!
  11. node init.js in the root directory, and then the pool should start!

Notes

Security is important, so make sure you followed all instructions on the NOMP and Redis setup properly.

If you wish, you can edit the html files in the website directory to make your pool look however you want.

It's a known bug that the API and stats pages don't display any info. Feel free to submit a PR to sum01's fork if you have a fix.

Clone this wiki locally