Post
Topic
Board Announcements (Altcoins)
Re: BiblePay | 10% Charity | POBH CPU | Sanctuaries (Masternodes) | Orphans
by
sunk818
on 30/10/2019, 06:44:49 UTC
Having this error trying to install NOMP pool:
Code:
Error: Cannot find module 'bignum'
    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. (/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
Code:
/pool/nomp/npm install
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

I submitted a pull request based on your experience and mine.

had some issues with npm too and had to use:

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