Hush-flavored NOMP
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Web Worker 8dda35009a
Update README.md
6 years ago
.vscode Add coin configs and debugging mode 6 years ago
Old READEM update 6 years ago
libs Fix read files 6 years ago
scripts init 6 years ago
website Add zznomp template 6 years ago
.gitignore Add basic website template switching 6 years ago
LICENSE Create LICENSE 6 years ago
README.md Update README.md 6 years ago
coins.template modified: coins.template 6 years ago
config_example.json Add basic website template switching 6 years ago
gencfg.sh Add donation address 6 years ago
init.js Update logger for for network stats 6 years ago
package-lock.json Add basic website template switching 6 years ago
package.json Add basic website template switching 6 years ago
poolconfigs.template Add trackShares template example 6 years ago

README.md

Mining stratum for Komodo and Komodo assetchains.

(READY FOR TESTING - Share distribution needs testing)

Requirements

Differences between this and Z-NOMP

  • This is meant for Komodo mining
  • Founders, Treasury, and other ZEC/ZEN specific stuff is removed

Upgrade

  • Please be sure to backup your ./coins and ./pool_configs directory before upgrading

Install

Some initial setup

# The following packages are needed to build both Komodo and this stratum:
sudo apt-get update
sudo apt-get install build-essential pkg-config libc6-dev m4 g++-multilib autoconf libtool ncurses-dev unzip git python python-zmq zlib1g-dev wget libcurl4-openssl-dev bsdmainutils automake curl libboost-dev libboost-system-dev libsodium-dev jq redis-server -y

Now, let's build Komodo

git clone https://github.com/jl777/komodo -b dev
cd komodo
zcutil/fetch-params.sh
zcutil/build.sh -j8
strip src/komodod
strip src/komodo-cli

Now, let's run the assets.

  • This will start ALL of the assets might take a day or so to sync, depending on system speed/network connection.
cd ~/komodo/src
./assetchains.old

Once all these chains have synced up we can configure the stratum.

We need node and npm installed

cd ~
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -

Now, let's build our stratum and run it (this stage assumes you already have Redis properly installed and running) This will install the stratum and configure it for all the assetchains on your system automatically. It must be run from the same user as the coin deamons were launched, as it pulls the rpcuser/pass from the conf file in the home directory.

git clone https://github.com/webworker01/knomp
cd knomp
./gencfg.sh
npm install
cp config_example.json config.json (and configure it)
npm start

Full Z Transaction Support

This is an option to force miners to use a Z address as their username for payouts

In your coins file add:

"privateChain": true,
"burnFees": true

For the moment a different dependency is required, in package.json change the last dependency to: ~~ Edit: This may be resolved and unneccesary now ~~``` "stratum-pool": "git+https://github.com/webworker01/node-stratum-pool.git#notxfee"


Do this before running `npm install` above or stop your running instance and run `npm install` `npm start` again after making this change.

[Further info on config](https://github.com/zone117x/node-open-mining-portal)

License
-------

Forked from ComputerGenie repo (deleted)

Released under the GNU General Public License v2
http://www.gnu.org/licenses/gpl-2.0.html

_Forked from [z-classic/z-nomp](https://github.com/z-classic/z-nomp) which is incorrectly licensed under MIT License - see [zone117x/node-open-mining-portal](https://github.com/zone117x/node-open-mining-portal)_