From 8eaf2b88fb65839f8dc1b216cbf9c0e33ff7f65c Mon Sep 17 00:00:00 2001 From: nettts <40123869+nettts@users.noreply.github.com> Date: Thu, 9 Aug 2018 10:56:18 -0400 Subject: [PATCH] Added ZERO! Update other coin configs (#32) * Update coin configs Added zero config files. coins/zer.json coins/testnet/zer.json pool_configs/examples/zer.json pool_configs/examples/zer.testnet.json removed blank line 13 for coins/zel.json renamed MPOS mysql db for btcpt from btcp to btcp_testnet * Fixed alignment --- coins/testnet/xsg.json | 4 +- coins/testnet/zer.json | 19 ++++++ coins/zel.json | 1 - coins/zer.json | 19 ++++++ pool_configs/examples/btcp.testnet.json | 2 +- pool_configs/examples/zer.json | 90 +++++++++++++++++++++++++ pool_configs/examples/zer.testnet.json | 90 +++++++++++++++++++++++++ 7 files changed, 221 insertions(+), 4 deletions(-) create mode 100644 coins/testnet/zer.json create mode 100644 coins/zer.json create mode 100644 pool_configs/examples/zer.json create mode 100644 pool_configs/examples/zer.testnet.json diff --git a/coins/testnet/xsg.json b/coins/testnet/xsg.json index 674bc78..aa94cf0 100644 --- a/coins/testnet/xsg.json +++ b/coins/testnet/xsg.json @@ -1,6 +1,6 @@ { - "name": "snowgem", - "symbol": "xsg", + "name": "snowgem_testnet", + "symbol": "xsgt", "algorithm": "equihash", "parameters": { "N": 144, diff --git a/coins/testnet/zer.json b/coins/testnet/zer.json new file mode 100644 index 0000000..42a0f7d --- /dev/null +++ b/coins/testnet/zer.json @@ -0,0 +1,19 @@ +{ + "name": "zero_testnet", + "symbol": "zert", + "algorithm": "equihash", + "parameters": { + "N": 192, + "K": 7, + "personalization": "ZERO_PoW" + }, + "requireShielding": true, + "txfee": 0.0001, + "peerMagic": "5a45524f", + "explorer": { + "txURL": "#", + "blockURL": "#", + "_comment_explorer": "This is the coin's explorer full base url for transaction and blocks i.e. (https://explorer.btcprivate.org/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 d148cc2..69dd6bd 100644 --- a/coins/zel.json +++ b/coins/zel.json @@ -10,7 +10,6 @@ "requireShielding": true, "txfee": 0.0001, "peerMagic": "24e92764", - "explorer": { "txURL": "https://explorer.zel.cash/tx/", "blockURL": "https://explorer.zel.cash/block/", diff --git a/coins/zer.json b/coins/zer.json new file mode 100644 index 0000000..359e56d --- /dev/null +++ b/coins/zer.json @@ -0,0 +1,19 @@ +{ + "name": "zero", + "symbol": "zer", + "algorithm": "equihash", + "parameters": { + "N": 192, + "K": 7, + "personalization": "ZERO_PoW" + }, + "requireShielding": true, + "txfee": 0.0001, + "peerMagic": "5a45524f", + "explorer": { + "txURL": "https://insight.zerocurrency.io/insight/tx/", + "blockURL": "https://insight.zerocurrency.io/insight/block/", + "_comment_explorer": "This is the coin's explorer full base url for transaction and blocks i.e. (https://zeroexplorer.forgetop.com/tx/). The pool will automatically add the transaction id or block id at the end." + } +} + diff --git a/pool_configs/examples/btcp.testnet.json b/pool_configs/examples/btcp.testnet.json index 878453a..8e74592 100644 --- a/pool_configs/examples/btcp.testnet.json +++ b/pool_configs/examples/btcp.testnet.json @@ -83,7 +83,7 @@ "port": 3306, "user": "me", "password": "mypass", - "database": "btcp", + "database": "btcp_testnet", "checkPassword": true, "autoCreateWorker": false } diff --git a/pool_configs/examples/zer.json b/pool_configs/examples/zer.json new file mode 100644 index 0000000..a7f8883 --- /dev/null +++ b/pool_configs/examples/zer.json @@ -0,0 +1,90 @@ +{ + "enabled": false, + "coin": "zer.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": 23800, + "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": 23800, + "user": "rpcuser", + "password": "rpcpassword" + } + ], + + "p2p": { + "enabled": false, + "host": "127.0.0.1", + "port": 23801, + "disableTransactions": true + }, + + "mposMode": { + "enabled": false, + "host": "127.0.0.1", + "port": 3306, + "user": "me", + "password": "mypass", + "database": "zer", + "checkPassword": true, + "autoCreateWorker": false + } + +} diff --git a/pool_configs/examples/zer.testnet.json b/pool_configs/examples/zer.testnet.json new file mode 100644 index 0000000..c591621 --- /dev/null +++ b/pool_configs/examples/zer.testnet.json @@ -0,0 +1,90 @@ +{ + "enabled": false, + "coin": "testnet/zer.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": 23802, + "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": 23802, + "user": "rpcuser", + "password": "rpcpassword" + } + ], + + "p2p": { + "enabled": false, + "host": "127.0.0.1", + "port": 23803, + "disableTransactions": true + }, + + "mposMode": { + "enabled": false, + "host": "127.0.0.1", + "port": 3306, + "user": "me", + "password": "mypass", + "database": "zer_testnet", + "checkPassword": true, + "autoCreateWorker": false + } + +}