From 47288d146beead10e1e2bf52b81391e1bd68fbe8 Mon Sep 17 00:00:00 2001 From: Miles Manley <35818597+milesmanley@users.noreply.github.com> Date: Thu, 4 Jul 2019 01:51:19 +0100 Subject: [PATCH] zel.json - ZelHash N,K params and Zel testnet (#137) ZelHash, our new PoW algo, will activate as part of the Kamiooka network upgrade at blockheight: 364,000 roughly 21st June 2019. --- coins/testnet/zel.json | 20 ++++++ coins/zel.json | 4 +- pool_configs/examples/zel.testnet.json | 90 ++++++++++++++++++++++++++ 3 files changed, 112 insertions(+), 2 deletions(-) create mode 100644 coins/testnet/zel.json create mode 100644 pool_configs/examples/zel.testnet.json diff --git a/coins/testnet/zel.json b/coins/testnet/zel.json new file mode 100644 index 0000000..78c3255 --- /dev/null +++ b/coins/testnet/zel.json @@ -0,0 +1,20 @@ +{ + "name": "zelcash", + "symbol": "zel", + "algorithm": "equihash", + "parameters": { + "N": 125, + "K": 4, + "personalization": "ZelProof" + }, + "requireShielding": true, + "txfee": 0.0001, + "peerMagic": "fa1af9bf", + "sapling": true, + "payZelNodes": 1560812290, + "explorer": { + "txURL": "https://testnet.zel.cash/tx/", + "blockURL": "https://testnet.zel.cash/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." + } +} diff --git a/coins/zel.json b/coins/zel.json index 33b398f..5ce63d6 100644 --- a/coins/zel.json +++ b/coins/zel.json @@ -3,8 +3,8 @@ "symbol": "zel", "algorithm": "equihash", "parameters": { - "N": 144, - "K": 5, + "N": 125, + "K": 4, "personalization": "ZelProof" }, "requireShielding": true, diff --git a/pool_configs/examples/zel.testnet.json b/pool_configs/examples/zel.testnet.json new file mode 100644 index 0000000..768ac51 --- /dev/null +++ b/pool_configs/examples/zel.testnet.json @@ -0,0 +1,90 @@ +{ + "enabled": false, + "coin": "testnet/zel.json", + + "address": "", + "_comment_address": "a transparent address to send coinbase rewards to and to transfer to zAddress.", + + "zAddress": "", + "_comment_zAddress": "a private address used to send coins to tAddress.", + + "tAddress": "", + "_comment_tAddress": "transparent address used to send payments, make this a different address, otherwise payments will not send", + + "invalidAddress": "", + "_comment_invalidAddress": "Invalid addresses will be converted to the above", + + "walletInterval": 2.5, + + "rewardRecipients": { + "": 0.2 + }, + + "paymentProcessing": { + "enabled": true, + "minConf": 10, + "paymentMode": "prop", + "_comment_paymentMode": "prop, pplnt", + "paymentInterval": 20, + "minimumPayment": 0.05, + "maxBlocksPerPayment": 3, + "daemon": { + "host": "127.0.0.1", + "port": 16124, + "user": "rpcuser", + "password": "rpcpassword" + } + }, + + "tlsOptions": { + "enabled": false, + "serverKey": "", + "serverCert": "", + "ca": "" + }, + + "ports": { + "1234": { + "diff": 0.05, + "tls": false, + "varDiff": { + "minDiff": 0.04, + "maxDiff": 36, + "targetTime": 15, + "retargetTime": 60, + "variancePercent": 30 + } + } + }, + + "poolId": "main", + "_comment_poolId": "use it for region identification: eu, us, asia or keep default if you have one stratum instance for one coin", + + "daemons": [ + { + "host": "127.0.0.1", + "port": 26124, + "user": "rpcuser", + "password": "rpcpassword" + } + ], + + "p2p": { + "enabled": false, + "host": "127.0.0.1", + "port": 26125, + "disableTransactions": true + }, + + "mposMode": { + "enabled": false, + "host": "127.0.0.1", + "port": 3306, + "user": "me", + "password": "mypass", + "database": "zel_testnet", + "checkPassword": true, + "autoCreateWorker": false + } + +}