NOMP (mining pool)
Guide to install and configure a mining pool.
Introduction
In order to test the GetBlockTemplate, ValidateAddress and SubmitBlock RPC calls a mining pool is used.
Installation
Requirements:
Node Version Manager to install the NodeJs version 0.10.25 . Install Node Version Manager .
Any bitcoind with RPC support. The ABC with bitcore patches works fine BitcoinABC + bitcore patches , but a normal Bitcoin-ABC node can also be used.
Redis to store the pool data. Install Redis
Install NOMP:
In your terminal set the NodeJs version to v0.10.25.
nvm use v0.10.25Clone nomp.
git clone https://github.com/zone117x/node-open-mining-portal.git nomp
cd nomp
npm updateA node-watch update is currently breaking the nomp installation, to fix it follow this issue:https://github.com/zone117x/node-open-mining-portal/issues/651
Configuration:
nomp/config.json:
This is a config.json configuration example, you can just copy and paste it.
nomp/pool_configs/bitcoin.json
Make sure you change the address because it's the one that is going to receive the block rewards. Also set your RPC credentials in the daemon section.
Run the pool
Redis:
Start the redis server on a terminal or a screen session.
Start the pool:
Make sure you are on v0.10.25 of NodeJs and run the init.js file.
Inside the nomp folder run:
Example:

Mine blocks:
The last step to mine some blocks is to connect a miner to this pool. Follow the CPU Miner guide to send some hash to this pool.
References
NOMP github: https://github.com/zone117x/node-open-mining-portal
Last updated