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:

Install NOMP:

  • In your terminal set the NodeJs version to v0.10.25.

nvm use v0.10.25
  • Clone nomp.

git clone https://github.com/zone117x/node-open-mining-portal.git nomp
cd nomp
npm update

Configuration:

Two configuration files must be created, the config.json on the root folder, and the bitcoin.json in the pool_configs folder.

  • nomp/config.json:

This is a config.json configuration example, you can just copy and paste it.

  • nomp/pool_configs/bitcoin.json

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

Last updated