If you are a miner and just want to mine, please go this link:
If you are interested in being a pool operator (running a web site to host many miners, then keep reading)
BiblePay NOMP pool installation instructions.
The main installation instructions are here: https://github.com/biblepay/node-open-mining-portal/blob/master/Deploy%20a%20Nomp%20BiblePay%20Pool.txt
Below are some troubleshooting notes to help you during the installation process.
node & npmjs are finicky, so persistence may be required when installing the NOMP pool.
It was also written in 2014 and not updated for 5 years, so there may be quirks, bugs that are known and unknown.
First, install Ubuntu 18.0.4 LTS or upgrade your Ubuntu to latest LTS version
https://linuxconfig.org/how-to-upgrade-to-ubuntu-18-04-lts-bionic-beaver (this may take an hour or more)
If you get this error, then install some other packages first, then try again
apt-get install npm
Reading package lists… Done
Building dependency tree
Reading state information… Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
npm : Depends: node-gyp (>= 0.10.9) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
apt-get install nodejs-dev node-gyp libssl1.0-dev
Having this error trying to install NOMP pool:
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/pool/nomp/node_modules/stratum-pool/algoProperties.js:1:76)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
There were similar errors during “npm update”.
After rebooting and running as su
the bignum issue resolved by actually downloading and compiling it.
I now have an operational NOMP pool on my local network. (still need to sort out ports) I will use this to just to try things at the moment.
I also had to copy biblepay_example.json to biblepay.json in /pool/nomp/coins
npm install -g bignum
had to run as root, but not use sudo. sudo seems to installs npm in a different place.
for pool_configs — biblepay.json
daemons and payment_processing is your rpcport in biblepay.conf
for p2p port it is same as port in biblepay.conf (usually port 40000)
the duplicate shares continue to be an issue. i’m noticing on the node init.js output log, the curtime and nonce repeat. I would think the curtime should constantly increase, but it seems to be static. nTime + nElapsed = curtime would be interesting to toy with.
I’ll have to cpu mine a different coin just to see how it behaves.
I also read there’s a duplicate share exploit in NOMP which has a simple fix. https://github.com/zone117x/node-open-mining-portal/issues/430
If you set up a pool with a minimum difficulty of 4, then miners should have at least 50 kh/s to maintain a 80% or higher efficiency ratio between accepted vs rejected shares. If you have a low hashing computer (e.g. 5kh/s) then you will not submit enough shares at a difficulty of 4 and do not recommend you with hash with a low power computer even on a pool.