From 4b9401d88dbb0c0b67b4d7f6e047e6fdb53b0513 Mon Sep 17 00:00:00 2001 From: Machotacoz <39605217+Machotacoz@users.noreply.github.com> Date: Sun, 29 Jul 2018 21:38:02 -0400 Subject: [PATCH] Coin config additions v2 (#3) * added zel.json * added votecoin * added vot.json pool_config * zel didn't push to this branch under pool_configs. * Corrected port and spacing Spacing should be corrected. let me know if its still off. Looks good in notepad++. Added correct RPC port for zel.json. * spacing fix * snowgems coin perams test on my pool and was able to accept blocks * snowgem pool config * peerMagic * Formatting. Moved parameters * Formatting. Moved parameters * Formatting. Added invalidAddress * Added invalidAddress. Small tweaks * Formatting. Added invalidAddress. Small tweaks * Fixed format. peerMagic seems to be the typical 24e92764 per the developers comment on this issue https://github.com/z-classic/z-nomp/issues/198#issuecomment-329305796 * Formatting * Moved pool_configs to examples directory * Deleted vot.json, xsg.json, zel.json from pool_configs * Update vot.json * Update zel.json * Update xsg.json * Update vot.json * Update xsg.json * Update zec.json * Update zel.json * Update zen.testnet.json * Update zec.testnet.json * Update xsg.json * A few more adjustments --- coins/testnet/zec.json | 8 ++- coins/testnet/zen.json | 8 ++- coins/vot.json | 15 +++++ coins/xsg.json | 44 +++++++++++++ coins/zec.json | 6 +- coins/zel.json | 19 ++++++ pool_configs/examples/kmd.json | 2 +- pool_configs/examples/vot.json | 90 ++++++++++++++++++++++++++ pool_configs/examples/xsg.json | 86 ++++++++++++++++++++++++ pool_configs/examples/zcl.json | 2 +- pool_configs/examples/zec.json | 6 +- pool_configs/examples/zec.testnet.json | 4 +- pool_configs/examples/zel.json | 90 ++++++++++++++++++++++++++ pool_configs/examples/zen.json | 4 +- pool_configs/examples/zen.testnet.json | 6 +- 15 files changed, 373 insertions(+), 17 deletions(-) create mode 100644 coins/vot.json create mode 100644 coins/xsg.json create mode 100644 coins/zel.json create mode 100644 pool_configs/examples/vot.json create mode 100644 pool_configs/examples/xsg.json create mode 100644 pool_configs/examples/zel.json diff --git a/coins/testnet/zec.json b/coins/testnet/zec.json index 0c0c6ec..746f37b 100644 --- a/coins/testnet/zec.json +++ b/coins/testnet/zec.json @@ -21,5 +21,11 @@ "t2KXJVVyyrjVxxSeazbY9ksGyft4qsXUNm9", "t2J9YYtH31cveiLZzjaE4AcuwVho6qjTNzp", "t2QgvW4sP9zaGpPMH1GRzy7cpydmuRfB4AZ", "t2NDTJP9MosKpyFPHJmfjc5pGCvAU58XGa4", "t29pHDBWq7qN4EjwSEHg8wEqYe9pkmVrtRP", "t2Ez9KM8VJLuArcxuEkNRAkhNvidKkzXcjJ", "t2D5y7J5fpXajLbGrMBQkFg2mFN8fo3n8cX", "t2UV2wr1PTaUiybpkV3FdSdGxUJeZdZztyt" ], - "txfee": 0.0004 + "txfee": 0.0004, + + "explorer": { + "txURL": "https://explorer.testnet.z.cash/tx/", + "blockURL": "https://explorer.testnet.z.cash/blocks/", + "_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/testnet/zen.json b/coins/testnet/zen.json index 374c8ac..494d397 100644 --- a/coins/testnet/zen.json +++ b/coins/testnet/zen.json @@ -27,5 +27,11 @@ "vTreasuryRewardAddress": [ "zrRBQ5heytPMN5nY3ssPf3cG4jocXeD8fm1", "zrRBQ5heytPMN5nY3ssPf3cG4jocXeD8fm1", "zrRBQ5heytPMN5nY3ssPf3cG4jocXeD8fm1", "zrRBQ5heytPMN5nY3ssPf3cG4jocXeD8fm1" ], - "txfee": 0.0004 + "txfee": 0.0004, + + "explorer": { + "txURL": "https://explorer-testnet.zen-solutions.io/tx/", + "blockURL": "https://explorer-testnet.zen-solutions.io/blocks/", + "_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/vot.json b/coins/vot.json new file mode 100644 index 0000000..4e5b147 --- /dev/null +++ b/coins/vot.json @@ -0,0 +1,15 @@ +{ + "name": "votecoin", + "symbol": "vot", + "algorithm": "equihash", + "overwinter": true, + "requireShielding": true, + "txfee": 0.0004, + "peerMagic": "24e92764", + + "explorer": { + "txURL": "https://explorer.votecoin.site/tx/", + "blockURL": "https://explorer.votecoin.site/blocks/", + "_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/xsg.json b/coins/xsg.json new file mode 100644 index 0000000..773f9fb --- /dev/null +++ b/coins/xsg.json @@ -0,0 +1,44 @@ +{ + "name": "snowgem", + "symbol": "xsg", + "algorithm": "equihash", + "parameters": { + "N": 144, + "K": 5, + "personalization": "sngemPoW" + }, + "requireShielding": true, + "payFoundersReward": true, + "percentFoundersReward": 5, + "maxFoundersRewardBlockHeight": 2106399, + "foundersRewardAddressChangeInterval": 105320.95, + "vFoundersRewardAddress": [ + "s3d27MhkBRt3ha2UuxhjXaYF4DCnttTMnL1", + "s3Wws6Mx3GHJkAe8QkNr4jhW28WU21Fp9gL", + "s3QD18CKEA9Cw4kgnssnmk4rbf9Y3rU1uWG", + "s3esoTmHdcXdDwCkoGSxC4YkfzBo1ySuher", + "s3Q8NwoBv4aq9RRvqjT3LqN9TQnZrS2RdcV", + "s3ix12RLstrzFEJKVsbLxCsPuUSjAqs3Bqp", + "s3bCvm5zDv9KYFwHxaZjz2eKecEnbdFz98f", + "s3UfvUuHahzTmYViL3KrGZeUPug69denBm3", + "s3gmzNUmttwDJbUcpmW4gxVqHf3J58fDKpp", + "s3YuWMW4Kpij7gW91WHLhjfi5Dwc7dKyPNn", + "s3k2MaTdZyFBqyndrHdCDFnET5atCdC4iod", + "s3YFHxL9euG89LMgPT5wGka4Ek8XVyw4FWG", + "s3TKKkNnvBXphdv4ce84UKePdssWLHGBe1A", + "s3PLrY7e7jzzAxnMY7A6GkjhkGc1CVkuEoi", + "s3Ug8VAGcUijwD6QMhyFcCYXQEFABaA9VFy", + "s3b4DAbbrTb4FPz3mHeyE89fUq6Liqg5vxX", + "s3cM379BTJyCe5yJC4jkPn6qJwpZaHK2kXb", + "s3TKWLar6bZEHppF4ZR1MbPuBfe33a1bHX9", + "s3UpY6Q3T3v3F7MEpNDnV3rTucLEJkkHR4q", + "s3eWx3DcwLiusTBfhWu6z7zM4TffaV1Ng9r" + ], + "peerMagic": "24c82764", + + "explorer": { + "txURL": "https://insight.snowgem.org/tx/", + "blockURL": "https://insight.snowgem.org/blocks/", + "_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/zec.json b/coins/zec.json index 9c3766d..5d53923 100644 --- a/coins/zec.json +++ b/coins/zec.json @@ -59,10 +59,10 @@ "t3Pcm737EsVkGTbhsu2NekKtJeG92mvYyoN" ], "txfee": 0.0004, - + "explorer": { - "txURL": "https://explorer.zcha.in/transactions/", - "blockURL": "https://explorer.zcha.in/blocks/", + "txURL": "https://explorer.z.cash/tx/", + "blockURL": "https://explorer.z.cash/blocks/", "_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 new file mode 100644 index 0000000..d148cc2 --- /dev/null +++ b/coins/zel.json @@ -0,0 +1,19 @@ +{ + "name": "zelcash", + "symbol": "zel", + "algorithm": "equihash", + "parameters": { + "N": 144, + "K": 5, + "personalization": "ZelProof" + }, + "requireShielding": true, + "txfee": 0.0001, + "peerMagic": "24e92764", + + "explorer": { + "txURL": "https://explorer.zel.cash/tx/", + "blockURL": "https://explorer.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/pool_configs/examples/kmd.json b/pool_configs/examples/kmd.json index 659e7c1..45c8fe0 100644 --- a/pool_configs/examples/kmd.json +++ b/pool_configs/examples/kmd.json @@ -30,7 +30,7 @@ "paymentProcessing": { "enabled": true, - "minConf": 10, + "minConf": 10, "paymentMode": "prop", "_comment_paymentMode": "prop, pplnt", "paymentInterval": 60, diff --git a/pool_configs/examples/vot.json b/pool_configs/examples/vot.json new file mode 100644 index 0000000..6b2cc1a --- /dev/null +++ b/pool_configs/examples/vot.json @@ -0,0 +1,90 @@ +{ + "enabled": false, + "coin": "vot.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": 8242, + "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": 8242, + "user": "rpcuser", + "password": "rpcpassword" + } + ], + + "p2p": { + "enabled": false, + "host": "127.0.0.1", + "port": 8144, + "disableTransactions": true + }, + + "mposMode": { + "enabled": false, + "host": "127.0.0.1", + "port": 3306, + "user": "me", + "password": "mypass", + "database": "vot", + "checkPassword": true, + "autoCreateWorker": false + } + +} diff --git a/pool_configs/examples/xsg.json b/pool_configs/examples/xsg.json new file mode 100644 index 0000000..91d1241 --- /dev/null +++ b/pool_configs/examples/xsg.json @@ -0,0 +1,86 @@ +{ + "enabled": false, + "coin": "xsg.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": 16112, + "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 + } + } + }, + + "daemons": [ + { + "host": "127.0.0.1", + "port": 16112, + "user": "rpcuser", + "password": "rpcpassword" + } + ], + + "p2p": { + "enabled": false, + "host": "127.0.0.1", + "port": 16113, + "disableTransactions": true + }, + + "mposMode": { + "enabled": false, + "host": "127.0.0.1", + "port": 3306, + "user": "me", + "password": "mypass", + "database": "xsg", + "checkPassword": true, + "autoCreateWorker": false + } +} diff --git a/pool_configs/examples/zcl.json b/pool_configs/examples/zcl.json index 1d6eac0..a9789ae 100644 --- a/pool_configs/examples/zcl.json +++ b/pool_configs/examples/zcl.json @@ -30,7 +30,7 @@ "paymentProcessing": { "enabled": true, - "minConf": 10, + "minConf": 10, "paymentMode": "prop", "_comment_paymentMode": "prop, pplnt", "paymentInterval": 120, diff --git a/pool_configs/examples/zec.json b/pool_configs/examples/zec.json index 11bdcc9..b554200 100644 --- a/pool_configs/examples/zec.json +++ b/pool_configs/examples/zec.json @@ -30,7 +30,7 @@ "paymentProcessing": { "enabled": true, - "minConf": 10, + "minConf": 10, "paymentMode": "prop", "_comment_paymentMode": "prop, pplnt", "paymentInterval": 120, @@ -39,8 +39,8 @@ "daemon": { "host": "127.0.0.1", "port": 8233, - "user": "testuser", - "password": "testpass" + "user": "rpcuser", + "password": "rpcpassword" } }, diff --git a/pool_configs/examples/zec.testnet.json b/pool_configs/examples/zec.testnet.json index ffddc25..a8f4a33 100644 --- a/pool_configs/examples/zec.testnet.json +++ b/pool_configs/examples/zec.testnet.json @@ -22,7 +22,7 @@ }, "paymentProcessing": { - "enabled": false, + "enabled": true, "minConf": 10, "paymentMode": "prop", "_comment_paymentMode": "prop, pplnt", @@ -83,7 +83,7 @@ "port": 3306, "user": "me", "password": "mypass", - "database": "taz", + "database": "zec_testnet", "checkPassword": true, "autoCreateWorker": false } diff --git a/pool_configs/examples/zel.json b/pool_configs/examples/zel.json new file mode 100644 index 0000000..acc01bf --- /dev/null +++ b/pool_configs/examples/zel.json @@ -0,0 +1,90 @@ +{ + "enabled": false, + "coin": "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": 16124, + "user": "rpcuser", + "password": "rpcpassword" + } + ], + + "p2p": { + "enabled": false, + "host": "127.0.0.1", + "port": 16125, + "disableTransactions": true + }, + + "mposMode": { + "enabled": false, + "host": "127.0.0.1", + "port": 3306, + "user": "me", + "password": "mypass", + "database": "zel", + "checkPassword": true, + "autoCreateWorker": false + } + +} diff --git a/pool_configs/examples/zen.json b/pool_configs/examples/zen.json index 6beb5a0..1b147b3 100644 --- a/pool_configs/examples/zen.json +++ b/pool_configs/examples/zen.json @@ -29,8 +29,8 @@ }, "paymentProcessing": { - "enabled": false, - "minConf": 10, + "enabled": true, + "minConf": 10, "paymentMode": "prop", "_comment_paymentMode": "prop, pplnt", "paymentInterval": 120, diff --git a/pool_configs/examples/zen.testnet.json b/pool_configs/examples/zen.testnet.json index bf22d10..c2d016e 100644 --- a/pool_configs/examples/zen.testnet.json +++ b/pool_configs/examples/zen.testnet.json @@ -29,8 +29,8 @@ }, "paymentProcessing": { - "enabled": false, - "minConf": 10, + "enabled": true, + "minConf": 10, "paymentMode": "prop", "_comment_paymentMode": "prop, pplnt", "paymentInterval": 120, @@ -83,7 +83,7 @@ "port": 3306, "user": "me", "password": "mypass", - "database": "zen", + "database": "zen_testnet", "checkPassword": true, "autoCreateWorker": false }