mirror of https://github.com/BTCPrivate/z-nomp.git
ZenCash Mainnet Support
This commit is contained in:
parent
f6f6f0c712
commit
8814ce2b08
38
package.json
38
package.json
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "z-nomp",
|
"name": "z-nomp",
|
||||||
"version": "0.0.4",
|
"version": "0.0.4",
|
||||||
"description": "Zclassic (Equihash) stratum mining pool based on NOMP",
|
"description": "ZenCash (Equihash) stratum mining pool based on NOMP",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"stratum",
|
"stratum",
|
||||||
"mining",
|
"mining",
|
||||||
|
@ -12,9 +12,9 @@
|
||||||
"zcash",
|
"zcash",
|
||||||
"equihash"
|
"equihash"
|
||||||
],
|
],
|
||||||
"homepage": "https://github.com/z-classic/z-nomp",
|
"homepage": "https://github.com/zencashio/z-nomp",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/z-classic/z-nomp/issues"
|
"url": "https://github.com/zencashio/z-nomp/issues"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "Joshua Yabut",
|
"author": "Joshua Yabut",
|
||||||
|
@ -31,30 +31,30 @@
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/z-classic/z-nomp.git"
|
"url": "https://github.com/zencashio/z-nomp.git"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"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",
|
"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",
|
"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": {
|
"engines": {
|
||||||
"node": ">=0.10"
|
"node": ">=0.10"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue