diff --git a/package.json b/package.json index 9eb609a..6bbfd4e 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "z-nomp", "version": "0.0.4", - "description": "Zclassic (Equihash) stratum mining pool based on NOMP", + "description": "ZenCash (Equihash) stratum mining pool based on NOMP", "keywords": [ "stratum", "mining", @@ -12,9 +12,9 @@ "zcash", "equihash" ], - "homepage": "https://github.com/z-classic/z-nomp", + "homepage": "https://github.com/zencashio/z-nomp", "bugs": { - "url": "https://github.com/z-classic/z-nomp/issues" + "url": "https://github.com/zencashio/z-nomp/issues" }, "license": "MIT", "author": "Joshua Yabut", @@ -31,30 +31,30 @@ }, "repository": { "type": "git", - "url": "https://github.com/z-classic/z-nomp.git" + "url": "https://github.com/zencashio/z-nomp.git" }, "dependencies": { - "stratum-pool": "git+https://github.com/z-classic/node-stratum-pool.git", - "dateformat": "2.0.0", - "node-json-minify": "1.0.0", - "redis": "2.7.1", - "mysql": "2.13.0", "async": "2.3.0", - "express": "4.15.2", - "body-parser": "1.17.1", - "compression": "1.6.2", - "dot": "1.1.1", - "colors": "1.1.2", - "node-watch": "0.5.2", - "request": "2.81.0", - "nonce": "1.0.4", "bignum": "0.12.5", - "extend": "3.0.0" + "body-parser": "1.17.1", + "colors": "1.1.2", + "compression": "1.6.2", + "dateformat": "2.0.0", + "dot": "1.1.1", + "express": "4.15.2", + "extend": "3.0.0", + "mysql": "2.13.0", + "node-json-minify": "1.0.0", + "node-watch": "0.5.2", + "nonce": "1.0.4", + "redis": "2.7.1", + "request": "2.81.0", + "stratum-pool": "git+https://github.com/z-classic/node-stratum-pool.git" }, "engines": { "node": ">=0.10" }, "scripts": { - "start": "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/node_modules/stratum-pool/node_modules/equihashverify/build/Release/:$PWD/node_modules/equihashverify/build/Release/ node init.js" + "start": "LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/node_modules/stratum-pool/node_modules/equihashverify/build/Release/:$PWD/node_modules/equihashverify/build/Release/ node init.js" } } diff --git a/pool_configs/zen_example.json b/pool_configs/zen_example.json new file mode 100644 index 0000000..6de800a --- /dev/null +++ b/pool_configs/zen_example.json @@ -0,0 +1,82 @@ +{ + "enabled": false, + "coin": "zen.json", + + "address": "znZfjUjJSbUBgMsEqKLXTGxKwUerWh5dDT4", + "_comment_address": "a transparent address to send coinbase rewards to and to transfer to zAddress.", + + "zAddress": "zcDVvJbyyFLznbs7jJq974pZaHKsHnk8UXof1ief8HSfQMfG75CucWACCYAZN3vnprhUXCPCUD7vMGTzrFjTjy6nNriiDbe", + "_comment_zAddress": "a private address used to send coins to tAddress.", + + "tAddress": "znV763BSvdEySe3SCaTgHNiFrawiYzxRysb", + "_comment_tAddress": "transparent address used to send payments, make this a different address, otherwise payments will not send", + + "walletInterval": 2.5, + + "rewardRecipients": { + }, + + "tlsOptions": { + "enabled": false, + "serverKey":"", + "serverCert":"", + "ca":"" + }, + + "paymentProcessing": { + "enabled": false, + "paymentMode": "prop", + "_comment_paymentMode":"prop, pplnt", + "paymentInterval": 20, + "minimumPayment": 0.1, + "maxBlocksPerPayment": 3, + "daemon": { + "host": "127.0.0.1", + "port": 8231, + "user": "rpcuser", + "password": "rpcpassword" + } + }, + + "ports": { + "3032": { + "tls":false, + "diff": 0.05, + "varDiff": { + "minDiff": 0.04, + "maxDiff": 16, + "targetTime": 15, + "retargetTime": 60, + "variancePercent": 30 + } + } + }, + + "daemons": [ + { + "host": "127.0.0.1", + "port": 8231, + "user": "rpcuser", + "password": "rpcpassword" + } + ], + + "p2p": { + "enabled": false, + "host": "127.0.0.1", + "port": 19333, + "disableTransactions": true + }, + + "mposMode": { + "enabled": false, + "host": "127.0.0.1", + "port": 3306, + "user": "me", + "password": "mypass", + "database": "zcl", + "checkPassword": true, + "autoCreateWorker": false + } + +}