-
Notifications
You must be signed in to change notification settings - Fork 35
Running A Pool
sum01 edited this page Feb 4, 2018
·
2 revisions
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.
I won't re-write all the NOMP documentation, but after making sure you've followed it, here's some quick-start steps...
-
npm update
in the root directory. - Get your local daemons default address. This cannot be one you created, but is the one marked
default
and created automatically. - Get your address you want fee's to go to. Multiple addresses can optionally be used.
- Open
pool_configs/vcash_example.json
in a text-editor. - Change Pool_XVC_Address to your local daemon's default address (from step 2)
- 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.
- Optionally, change any other config options in the json file. Read the documentation for what they do.
- Save the changes to
vcash_example.json
and close it. - Run your local daemon, and unlock it. This is necessary so the pool software can make payments to miners.
- Run
redis-server
after making sure you've secured it! -
node init.js
in the root directory, and then the pool should start!
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.