From 976b2d82fecef8c10ab2f20207a8650938d2fed8 Mon Sep 17 00:00:00 2001 From: s0n1k Date: Mon, 4 Jun 2018 01:12:37 +0200 Subject: [PATCH 1/5] Add LitecoinZ configuration files --- coins/litecoinz.json | 8 +++ coins/litecoinz_testnet.json | 8 +++ package.json | 2 +- pool_configs/litecoinz.json | 83 +++++++++++++++++++++++++++++ pool_configs/litecoinz_testnet.json | 83 +++++++++++++++++++++++++++++ 5 files changed, 183 insertions(+), 1 deletion(-) create mode 100644 coins/litecoinz.json create mode 100644 coins/litecoinz_testnet.json create mode 100644 pool_configs/litecoinz.json create mode 100644 pool_configs/litecoinz_testnet.json diff --git a/coins/litecoinz.json b/coins/litecoinz.json new file mode 100644 index 00000000..d5ad84e4 --- /dev/null +++ b/coins/litecoinz.json @@ -0,0 +1,8 @@ +{ + "name": "LitecoinZ", + "symbol": "LTZ", + "algorithm": "equihash", + "requireShielding": true, + "peerMagic": "d8cfcd93", + "txfee": 0.0004 +} diff --git a/coins/litecoinz_testnet.json b/coins/litecoinz_testnet.json new file mode 100644 index 00000000..b4a893a7 --- /dev/null +++ b/coins/litecoinz_testnet.json @@ -0,0 +1,8 @@ +{ + "name": "LitecoinZ_Testnet", + "symbol": "TLZ", + "algorithm": "equihash", + "requireShielding": true, + "peerMagic": "fe90865d", + "txfee": 0.0004 +} diff --git a/package.json b/package.json index 6bbfd4e5..06a99677 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "nonce": "1.0.4", "redis": "2.7.1", "request": "2.81.0", - "stratum-pool": "git+https://github.com/z-classic/node-stratum-pool.git" + "stratum-pool": "git+https://github.com/litecoinz-project/node-stratum-pool.git" }, "engines": { "node": ">=0.10" diff --git a/pool_configs/litecoinz.json b/pool_configs/litecoinz.json new file mode 100644 index 00000000..79e9aa4e --- /dev/null +++ b/pool_configs/litecoinz.json @@ -0,0 +1,83 @@ +{ + "enabled": false, + "coin": "litecoinz.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", + + "walletInterval": 2.5, + + "rewardRecipients": { + }, + + "tlsOptions": { + "enabled": false, + "serverKey":"", + "serverCert":"", + "ca":"" + }, + + "paymentProcessing": { + "minConf": 10, + "enabled": true, + "paymentMode": "prop", + "_comment_paymentMode":"prop, pplnt", + "paymentInterval": 20, + "minimumPayment": 0.1, + "maxBlocksPerPayment": 3, + "daemon": { + "host": "127.0.0.1", + "port": 29332, + "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": 29332, + "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": "ltz", + "checkPassword": true, + "autoCreateWorker": false + } + +} diff --git a/pool_configs/litecoinz_testnet.json b/pool_configs/litecoinz_testnet.json new file mode 100644 index 00000000..276b84a8 --- /dev/null +++ b/pool_configs/litecoinz_testnet.json @@ -0,0 +1,83 @@ +{ + "enabled": false, + "coin": "litecoinz_testnet.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", + + "walletInterval": 2.5, + + "rewardRecipients": { + }, + + "tlsOptions": { + "enabled": false, + "serverKey":"", + "serverCert":"", + "ca":"" + }, + + "paymentProcessing": { + "minConf": 10, + "enabled": true, + "paymentMode": "prop", + "_comment_paymentMode":"prop, pplnt", + "paymentInterval": 20, + "minimumPayment": 0.1, + "maxBlocksPerPayment": 3, + "daemon": { + "host": "127.0.0.1", + "port": 39332, + "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": 39332, + "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": "tlz", + "checkPassword": true, + "autoCreateWorker": false + } + +} From aa81a57bd728a598d15765489ef8f997cff0bf0e Mon Sep 17 00:00:00 2001 From: s0n1k Date: Mon, 4 Jun 2018 02:12:07 +0200 Subject: [PATCH 2/5] Add Equihash48_5 Equihash96_3 Equihash96_5 Equihash192_7. Rename Equihash to Equihash200_9 --- coins/komodo.json | 2 +- coins/litecoinz.json | 2 +- coins/litecoinz_testnet.json | 2 +- coins/zcash.json | 2 +- coins/zcash_testnet.json | 2 +- coins/zclassic.json | 2 +- coins/zdash.json | 2 +- coins/zen.json | 2 +- coins/zen_testnet.json | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/coins/komodo.json b/coins/komodo.json index f9a4ee14..78bcc02c 100644 --- a/coins/komodo.json +++ b/coins/komodo.json @@ -1,6 +1,6 @@ { "name": "komodo", "symbol": "kmd", - "algorithm": "equihash", + "algorithm": "equihash200_9", "txfee": 0.00005 } diff --git a/coins/litecoinz.json b/coins/litecoinz.json index d5ad84e4..b0685737 100644 --- a/coins/litecoinz.json +++ b/coins/litecoinz.json @@ -1,7 +1,7 @@ { "name": "LitecoinZ", "symbol": "LTZ", - "algorithm": "equihash", + "algorithm": "equihash192_7", "requireShielding": true, "peerMagic": "d8cfcd93", "txfee": 0.0004 diff --git a/coins/litecoinz_testnet.json b/coins/litecoinz_testnet.json index b4a893a7..fbc6a53c 100644 --- a/coins/litecoinz_testnet.json +++ b/coins/litecoinz_testnet.json @@ -1,7 +1,7 @@ { "name": "LitecoinZ_Testnet", "symbol": "TLZ", - "algorithm": "equihash", + "algorithm": "equihash192_7", "requireShielding": true, "peerMagic": "fe90865d", "txfee": 0.0004 diff --git a/coins/zcash.json b/coins/zcash.json index c65158e6..79c73716 100644 --- a/coins/zcash.json +++ b/coins/zcash.json @@ -1,7 +1,7 @@ { "name": "zcash", "symbol": "zec", - "algorithm": "equihash", + "algorithm": "equihash200_9", "requireShielding": true, "payFoundersReward": true, "percentFoundersReward": 20, diff --git a/coins/zcash_testnet.json b/coins/zcash_testnet.json index 0c0c6ec6..68408d4d 100644 --- a/coins/zcash_testnet.json +++ b/coins/zcash_testnet.json @@ -1,7 +1,7 @@ { "name": "zcash_testnet", "symbol": "taz", - "algorithm": "equihash", + "algorithm": "equihash200_9", "requireShielding": true, "payFoundersReward": true, "percentFoundersReward": 20, diff --git a/coins/zclassic.json b/coins/zclassic.json index d6cfde27..4c4c4f12 100644 --- a/coins/zclassic.json +++ b/coins/zclassic.json @@ -1,7 +1,7 @@ { "name": "zclassic", "symbol": "zcl", - "algorithm": "equihash", + "algorithm": "equihash200_9", "requireShielding": true, "peerMagic": "24e92764", "txfee": 0.0004 diff --git a/coins/zdash.json b/coins/zdash.json index f08eaf69..20e4a62f 100644 --- a/coins/zdash.json +++ b/coins/zdash.json @@ -1,7 +1,7 @@ { "name": "zdash", "symbol": "zdash", - "algorithm": "equihash", + "algorithm": "equihash200_9", "requireShielding": true, "txfee": 0.0004 } diff --git a/coins/zen.json b/coins/zen.json index 0af00ff8..b497a00f 100644 --- a/coins/zen.json +++ b/coins/zen.json @@ -1,7 +1,7 @@ { "name": "zen", "symbol": "zen", - "algorithm": "equihash", + "algorithm": "equihash200_9", "requireShielding": true, "payFoundersReward": true, "percentFoundersReward": 8.5, diff --git a/coins/zen_testnet.json b/coins/zen_testnet.json index 374c8ac2..91cfc003 100644 --- a/coins/zen_testnet.json +++ b/coins/zen_testnet.json @@ -1,7 +1,7 @@ { "name": "zen_testnet", "symbol": "znt", - "algorithm": "equihash", + "algorithm": "equihash200_9", "requireShielding": true, "payFoundersReward": true, "percentFoundersReward": 8.5, From 370840df1d45d1bd4fbcaf070c11c81ab4e97c6f Mon Sep 17 00:00:00 2001 From: LiteCoinZ <33730928+litecoinz-project@users.noreply.github.com> Date: Wed, 6 Jun 2018 17:59:08 +0200 Subject: [PATCH 3/5] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 06a99677..6bbfd4e5 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "nonce": "1.0.4", "redis": "2.7.1", "request": "2.81.0", - "stratum-pool": "git+https://github.com/litecoinz-project/node-stratum-pool.git" + "stratum-pool": "git+https://github.com/z-classic/node-stratum-pool.git" }, "engines": { "node": ">=0.10" From 5616ab7378e71f438640757c9a664a12a4a23c60 Mon Sep 17 00:00:00 2001 From: LiteCoinZ <33730928+litecoinz-project@users.noreply.github.com> Date: Wed, 13 Jun 2018 15:07:45 +0200 Subject: [PATCH 4/5] LitecoinZ uses equihash144_5 algo --- coins/litecoinz.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coins/litecoinz.json b/coins/litecoinz.json index b0685737..65cdcf44 100644 --- a/coins/litecoinz.json +++ b/coins/litecoinz.json @@ -1,7 +1,7 @@ { "name": "LitecoinZ", "symbol": "LTZ", - "algorithm": "equihash192_7", + "algorithm": "equihash144_5", "requireShielding": true, "peerMagic": "d8cfcd93", "txfee": 0.0004 From c8618081e9a0a10a7fdb568a84ffc3dc49bb0e89 Mon Sep 17 00:00:00 2001 From: LiteCoinZ <33730928+litecoinz-project@users.noreply.github.com> Date: Wed, 13 Jun 2018 15:08:04 +0200 Subject: [PATCH 5/5] LitecoinZ uses equihash144_5 algo --- coins/litecoinz_testnet.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coins/litecoinz_testnet.json b/coins/litecoinz_testnet.json index fbc6a53c..0f0f54ae 100644 --- a/coins/litecoinz_testnet.json +++ b/coins/litecoinz_testnet.json @@ -1,7 +1,7 @@ { "name": "LitecoinZ_Testnet", "symbol": "TLZ", - "algorithm": "equihash192_7", + "algorithm": "equihash144_5", "requireShielding": true, "peerMagic": "fe90865d", "txfee": 0.0004