Add Zen Supernodes (#17)
This commit updates the ZEN configuration to support supernodes. In addition, to get everything working properly, I had to update all the packages. This is actually something I was planning on doing anyway since it seems there are some vulnerabilities with some of these older packages. This commit has a sister commit: https://github.com/z-nomp/node-stratum-pool/pull/2 Please note that since this requires an update to node-stratum-pool that you need to `npm upgrade`. Verify that the latest has been pulled down by checking `node_modules/stratum-pool/lib/transactions.js` has `Super Nodes` in it.
This commit is contained in:
parent
4882e4e3db
commit
0a8e3ab618
|
@ -1,4 +1,5 @@
|
|||
config.json
|
||||
docker-compose.override.yml
|
||||
.idea/
|
||||
node_modules/
|
||||
pool_configs/*.json
|
||||
|
|
|
@ -27,11 +27,34 @@
|
|||
"vTreasuryRewardAddress": [
|
||||
"zrRBQ5heytPMN5nY3ssPf3cG4jocXeD8fm1", "zrRBQ5heytPMN5nY3ssPf3cG4jocXeD8fm1", "zrRBQ5heytPMN5nY3ssPf3cG4jocXeD8fm1", "zrRBQ5heytPMN5nY3ssPf3cG4jocXeD8fm1"
|
||||
],
|
||||
"percentTreasuryUpdateReward": 10.0,
|
||||
"treasuryRewardUpdateStartBlockHeight": 260500,
|
||||
"treasuryRewardUpdateAddressChangeInterval": 10000,
|
||||
"vTreasuryRewardUpdateAddress": [
|
||||
"zrFzxutppvxEdjyu4QNjogBMjtC1py9Hp1S",
|
||||
"zrFzxutppvxEdjyu4QNjogBMjtC1py9Hp1S",
|
||||
"zrFzxutppvxEdjyu4QNjogBMjtC1py9Hp1S",
|
||||
"zrFzxutppvxEdjyu4QNjogBMjtC1py9Hp1S"
|
||||
],
|
||||
"percentSecureNodesReward": 10.0,
|
||||
"vSecureNodesRewardAddress": [
|
||||
"zrS7QUB2eDbbKvyP43VJys3t7RpojW8GdxH",
|
||||
"zrS7QUB2eDbbKvyP43VJys3t7RpojW8GdxH",
|
||||
"zrS7QUB2eDbbKvyP43VJys3t7RpojW8GdxH",
|
||||
"zrS7QUB2eDbbKvyP43VJys3t7RpojW8GdxH"
|
||||
],
|
||||
"percentSuperNodesReward": 10.0,
|
||||
"vSuperNodesRewardAddress": [
|
||||
"zrFr5HVm7woVq3oFzkMEdJdbfBchfPAPDsP",
|
||||
"zrFr5HVm7woVq3oFzkMEdJdbfBchfPAPDsP",
|
||||
"zrFr5HVm7woVq3oFzkMEdJdbfBchfPAPDsP",
|
||||
"zrFr5HVm7woVq3oFzkMEdJdbfBchfPAPDsP"
|
||||
],
|
||||
"txfee": 0.0004,
|
||||
|
||||
"explorer": {
|
||||
"txURL": "https://explorer-testnet.zen-solutions.io/tx/",
|
||||
"blockURL": "https://explorer-testnet.zen-solutions.io/blocks/",
|
||||
"blockURL": "https://explorer-testnet.zen-solutions.io/block/",
|
||||
"_comment_explorer": "This is the coin's explorer full base url for transaction and blocks i.e. (https://explorer.coin.com/tx/). The pool will automatically add the transaction id or block id at the end."
|
||||
}
|
||||
}
|
||||
|
|
|
@ -66,6 +66,29 @@
|
|||
"zsoemTfqjicem2QVU8cgBHquKb1o9JR5p4Z",
|
||||
"zt339oiGL6tTgc9Q71f5g1sFTZf6QiXrRUr"
|
||||
],
|
||||
"percentTreasuryUpdateReward": 10.0,
|
||||
"treasuryRewardUpdateStartBlockHeight": 344700,
|
||||
"treasuryRewardUpdateAddressChangeInterval": 50000,
|
||||
"vTreasuryRewardUpdateAddress": [
|
||||
"zszpcLB6C5B8QvfDbF2dYWXsrpac5DL9WRk",
|
||||
"zszpcLB6C5B8QvfDbF2dYWXsrpac5DL9WRk",
|
||||
"zszpcLB6C5B8QvfDbF2dYWXsrpac5DL9WRk",
|
||||
"zszpcLB6C5B8QvfDbF2dYWXsrpac5DL9WRk"
|
||||
],
|
||||
"percentSecureNodesReward": 10.0,
|
||||
"vSecureNodesRewardAddress": [
|
||||
"zsxWnyDbU8pk2Vp98Uvkx5Nh33RFzqnCpWN",
|
||||
"zsxWnyDbU8pk2Vp98Uvkx5Nh33RFzqnCpWN",
|
||||
"zsxWnyDbU8pk2Vp98Uvkx5Nh33RFzqnCpWN",
|
||||
"zsxWnyDbU8pk2Vp98Uvkx5Nh33RFzqnCpWN"
|
||||
],
|
||||
"percentSuperNodesReward": 10.0,
|
||||
"vSuperNodesRewardAddress": [
|
||||
"zsnL6pKdzvZ1BPVzALUoqw2KsY966XFs5CE",
|
||||
"zsnL6pKdzvZ1BPVzALUoqw2KsY966XFs5CE",
|
||||
"zsnL6pKdzvZ1BPVzALUoqw2KsY966XFs5CE",
|
||||
"zsnL6pKdzvZ1BPVzALUoqw2KsY966XFs5CE"
|
||||
],
|
||||
"peerMagic": "63617368",
|
||||
"txfee": 0.0004,
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
30
package.json
30
package.json
|
@ -33,21 +33,21 @@
|
|||
"url": "https://github.com/z-nomp/z-nomp.git"
|
||||
},
|
||||
"dependencies": {
|
||||
"async": "2.3.0",
|
||||
"bignum": "0.12.5",
|
||||
"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",
|
||||
"async": "^2.6.1",
|
||||
"bignum": "^0.13.0",
|
||||
"body-parser": "^1.18.3",
|
||||
"colors": "^1.3.1",
|
||||
"compression": "^1.7.3",
|
||||
"dateformat": "^3.0.3",
|
||||
"dot": "^1.1.2",
|
||||
"express": "^4.16.3",
|
||||
"extend": "^3.0.2",
|
||||
"mysql": "^2.16.0",
|
||||
"node-json-minify": "^1.0.0",
|
||||
"node-watch": "^0.5.8",
|
||||
"nonce": "^1.0.4",
|
||||
"redis": "^2.8.0",
|
||||
"request": "^2.87.0",
|
||||
"stratum-pool": "git+https://github.com/z-nomp/node-stratum-pool.git"
|
||||
},
|
||||
"engines": {
|
||||
|
|
Loading…
Reference in New Issue