From 83f4ba249754095404cd4e066a25d179ddab5681 Mon Sep 17 00:00:00 2001
From: Potato <35818234+zzzpotato@users.noreply.github.com>
Date: Fri, 12 Aug 2022 23:29:07 -0500
Subject: [PATCH] Revert "Fix/getting started (#195)" (#196)
This reverts commit 86c121295b0c78c495ef3bdf97f1e4f102c16509.
---
.gitignore | 1 -
coins/btcp.json | 3 --
coins/btcz.json | 3 --
coins/bzc.json | 3 --
coins/bze.json | 3 --
coins/genx.json | 3 --
coins/hush.json | 3 --
coins/kmd.json | 3 --
coins/ltz.json | 3 --
coins/safe.json | 3 --
coins/testnet/zec.json | 3 --
coins/vdl.json | 3 --
coins/vot.json | 3 --
coins/xsg.json | 3 --
coins/yec.json | 3 --
coins/zcl.json | 3 --
coins/zec.json | 3 --
coins/zel.json | 3 --
coins/zen.json | 3 --
coins/zer.json | 3 --
config_example.json | 59 ---------------------
website/pages/getting_started.html | 85 +++++++++---------------------
website/pages/payments.html | 2 +-
23 files changed, 27 insertions(+), 177 deletions(-)
diff --git a/.gitignore b/.gitignore
index a7f84df..05b3c36 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,4 +5,3 @@ node_modules/
pool_configs/*.json
.vs/
package-lock.json
-*_finalRedisCommands.txt
diff --git a/coins/btcp.json b/coins/btcp.json
index f8e3d3e..363ee2f 100644
--- a/coins/btcp.json
+++ b/coins/btcp.json
@@ -14,8 +14,5 @@
"txURL": "https://explorer.btcprivate.org/tx/",
"blockURL": "https://explorer.btcprivate.org/block/",
"_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."
- },
- "poolOptions": {
- "confirmations": 100
}
}
diff --git a/coins/btcz.json b/coins/btcz.json
index 0a8cf50..3c2200e 100644
--- a/coins/btcz.json
+++ b/coins/btcz.json
@@ -122,8 +122,5 @@
"txURL": "https://explorer.btcz.rocks/tx/",
"blockURL": "https://explorer.btcz.rocks/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."
- },
- "poolOptions": {
- "confirmations": 100
}
}
diff --git a/coins/bzc.json b/coins/bzc.json
index a55d194..48b3c24 100644
--- a/coins/bzc.json
+++ b/coins/bzc.json
@@ -64,8 +64,5 @@
"txURL": "http://bzc.avaxchain.com/insight/tx/",
"blockURL": "http://bzc.avaxchain.com/insight/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."
- },
- "poolOptions": {
- "confirmations": 100
}
}
diff --git a/coins/bze.json b/coins/bze.json
index f8e5dbf..b7bb77b 100644
--- a/coins/bze.json
+++ b/coins/bze.json
@@ -15,8 +15,5 @@
"txURL": "https://explorer.getbze.com/tx/",
"blockURL": "https://explorer.getbze.com/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."
- },
- "poolOptions": {
- "confirmations": 100
}
}
diff --git a/coins/genx.json b/coins/genx.json
index b32dcc5..c78b4f3 100644
--- a/coins/genx.json
+++ b/coins/genx.json
@@ -30,9 +30,6 @@
"txURL": "http://explorer.genesisnetwork.io/tx/",
"blockURL": "http://explorer.genesisnetwork.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."
- },
- "poolOptions": {
- "confirmations": 100
}
}
diff --git a/coins/hush.json b/coins/hush.json
index 87f429f..85fd11c 100644
--- a/coins/hush.json
+++ b/coins/hush.json
@@ -9,8 +9,5 @@
"txURL": "https://explorer.myhush.org/tx/",
"blockURL": "https://explorer.myhush.org/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."
- },
- "poolOptions": {
- "confirmations": 100
}
}
diff --git a/coins/kmd.json b/coins/kmd.json
index 42b75f3..ac588d0 100644
--- a/coins/kmd.json
+++ b/coins/kmd.json
@@ -8,8 +8,5 @@
"txURL": "https://kmdexplorer.io/tx/",
"blockURL": "https://kmdexplorer.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."
- },
- "poolOptions": {
- "confirmations": 100
}
}
diff --git a/coins/ltz.json b/coins/ltz.json
index e093fcb..57ebe0d 100644
--- a/coins/ltz.json
+++ b/coins/ltz.json
@@ -15,8 +15,5 @@
"txURL": "https://insight.litecoinz.org/tx/",
"blockURL": "https://insight.litecoinz.org/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."
- },
- "poolOptions": {
- "confirmations": 100
}
}
diff --git a/coins/safe.json b/coins/safe.json
index 2dc7c1c..76cdeb8 100644
--- a/coins/safe.json
+++ b/coins/safe.json
@@ -13,8 +13,5 @@
"txURL": "https://explorer.safecoin.org/tx/",
"blockURL": "https://explorer.safecoin.org/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."
- },
- "poolOptions": {
- "confirmations": 100
}
}
diff --git a/coins/testnet/zec.json b/coins/testnet/zec.json
index 28b0825..e47726a 100644
--- a/coins/testnet/zec.json
+++ b/coins/testnet/zec.json
@@ -30,8 +30,5 @@
"txURL": "https://explorer.testnet.z.cash/tx/",
"blockURL": "https://explorer.testnet.z.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."
- },
- "poolOptions": {
- "confirmations": 100
}
}
diff --git a/coins/vdl.json b/coins/vdl.json
index a8c017f..1cc59d4 100644
--- a/coins/vdl.json
+++ b/coins/vdl.json
@@ -17,8 +17,5 @@
"txURL": "https://explorer.vidulum.app/tx/",
"blockURL": "https://explorer.vidulum.app/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."
- },
- "poolOptions": {
- "confirmations": 100
}
}
diff --git a/coins/vot.json b/coins/vot.json
index 7f6b90c..912204c 100644
--- a/coins/vot.json
+++ b/coins/vot.json
@@ -12,8 +12,5 @@
"txURL": "https://explorer.votecoin.site/tx/",
"blockURL": "https://explorer.votecoin.site/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."
- },
- "poolOptions": {
- "confirmations": 100
}
}
diff --git a/coins/xsg.json b/coins/xsg.json
index 396f78d..2ec7fed 100644
--- a/coins/xsg.json
+++ b/coins/xsg.json
@@ -16,8 +16,5 @@
"txURL": "https://insight.snowgem.org/tx/",
"blockURL": "https://insight.snowgem.org/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."
- },
- "poolOptions": {
- "confirmations": 100
}
}
diff --git a/coins/yec.json b/coins/yec.json
index f4e04f1..58f4685 100644
--- a/coins/yec.json
+++ b/coins/yec.json
@@ -70,8 +70,5 @@
"txURL": "",
"blockURL": "",
"_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."
- },
- "poolOptions": {
- "confirmations": 100
}
}
diff --git a/coins/zcl.json b/coins/zcl.json
index a2d191e..23e585a 100644
--- a/coins/zcl.json
+++ b/coins/zcl.json
@@ -16,8 +16,5 @@
"txURL": "",
"blockURL": "",
"_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."
- },
- "poolOptions": {
- "confirmations": 100
}
}
diff --git a/coins/zec.json b/coins/zec.json
index dfefb8f..bf8a625 100644
--- a/coins/zec.json
+++ b/coins/zec.json
@@ -66,8 +66,5 @@
"txURL": "https://explorer.z.cash/tx/",
"blockURL": "https://explorer.z.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."
- },
- "poolOptions": {
- "confirmations": 100
}
}
diff --git a/coins/zel.json b/coins/zel.json
index 4fe0358..5ce63d6 100644
--- a/coins/zel.json
+++ b/coins/zel.json
@@ -16,8 +16,5 @@
"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."
- },
- "poolOptions": {
- "confirmations": 100
}
}
diff --git a/coins/zen.json b/coins/zen.json
index 343486d..1eab901 100644
--- a/coins/zen.json
+++ b/coins/zen.json
@@ -11,9 +11,6 @@
"blockURL": "https://explorer.horizen.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."
},
- "poolOptions": {
- "confirmations": 100
- },
"forks": [
{
"activationHeight": 0,
diff --git a/coins/zer.json b/coins/zer.json
index 9b95de7..a1d4f7d 100644
--- a/coins/zer.json
+++ b/coins/zer.json
@@ -49,8 +49,5 @@
"4": 1935765626
},
"isZcash": true
- },
- "poolOptions": {
- "confirmations": 100
}
}
diff --git a/config_example.json b/config_example.json
index 1cf82c9..52d28f6 100644
--- a/config_example.json
+++ b/config_example.json
@@ -64,65 +64,6 @@
"password": ""
},
- "availableMiners": {
- "miniz": {
- "enabled": true,
- "name": "MiniZ",
- "url": "https://miniz.ch/download/"
- },
- "gminer": {
- "enabled": true,
- "name": "Gminer",
- "url": "https://bitcointalk.org/index.php?topic=5034735.0"
- },
- "lolminer": {
- "enabled": false,
- "name": "lolMiner",
- "url": "https://bitcointalk.org/index.php?topic=4724735.0"
- },
- "ewbf": {
- "enabled": true,
- "name": "EWBF",
- "url": "https://bitcointalk.org/index.php?topic=4466962.0"
- }
- },
-
- "availableStratums": {
- "US": {
- "enabled": true,
- "stratumHost": "us.example.com",
- "availablePorts": {
- "1001": {
- "tls": false
- },
- "2001": {
- "tls": true
- }
- }
- },
- "EU": {
- "enabled": true,
- "stratumHost": "eu.example.com",
- "availablePorts": {
- "1001": {
- "tls": false
- },
- "2001": {
- "tls": true
- }
- }
- },
- "Asia": {
- "enabled": true,
- "stratumHost": "asia.example.com",
- "availablePorts": {
- "1001": {
- "tls": false
- }
- }
- }
- },
-
"switching": {
"switch1": {
"enabled": false,
diff --git a/website/pages/getting_started.html b/website/pages/getting_started.html
index 30b5495..a563a68 100644
--- a/website/pages/getting_started.html
+++ b/website/pages/getting_started.html
@@ -68,7 +68,7 @@
}
.miningOption:first-child{
- background-color: #2d2d2d;
+ background-color: #0eafc7;
}
.miningOption:last-child{
background-color: #b064e1;
@@ -81,7 +81,6 @@
}
.miningOptionInstructions{
flex: 1 1 auto;
- padding: 20px;
}
.miningOptionInstructions > div:first-child{
@@ -105,6 +104,7 @@
background-color: #ebf4fa;
color: #5c5c5c;
display: inline-block;
+ width: 35px;
font-style: italic;
}
@@ -128,7 +128,7 @@
left: 50%;
margin-left: -375px;
position: absolute;
- background-color: #2d2d2d;
+ background-color: #f06350;
}
#coinInfo .coinInfoName{
text-transform: capitalize;
@@ -178,11 +178,6 @@
#coinInfoClose:hover{
color: #50f0e3;
}
- .poolMinerTable {
- }
- table {
- width: 100%;
- }
@@ -232,40 +227,24 @@
+
+ 1.
+
+
Download NOMP App
+
Our preconfigured app makes mining that easy
+
+
+
+ 2.
Select a coin for connection details
Configurations for each coin are available for advanced miners
-
-
-
-
-
- Miner |
- |
-
-
-
- {{
- for (var miner in it.portalConfig.availableMiners){
- if(it.portalConfig.availableMiners[miner].enabled === true) {
- }}
-
- {{=it.portalConfig.availableMiners[miner].name}} |
- Download |
-
- {{
- }
- }
- }}
-
-
-
@@ -281,7 +260,7 @@
@@ -292,29 +271,11 @@
var htmlKeys = 'Algorithm:
';
var htmlValues = '' + info.algo + '
';
- {{
- for(var stratum in it.portalConfig.availableStratums) {
- if(it.portalConfig.availableStratums[stratum].enabled == true) {
- var stratumHost = it.portalConfig.availableStratums[stratum].stratumHost;
- var ports = it.portalConfig.availableStratums[stratum].availablePorts;
- for ( var ports in it.portalConfig.availableStratums[stratum].availablePorts) {
- for(var tls in it.portalConfig.availableStratums[stratum].availablePorts[ports]) {
- if(it.portalConfig.availableStratums[stratum].availablePorts[ports][tls] == true) {
- var secure = "(TLS)";
- } else {
- var secure = "";
- }
- }}
- htmlKeys += 'Stratum {{=secure}}:
';
- htmlValues += '{{=stratumHost}}:{{=ports}}
';
- {{
- }
- }
- }
- }
- }}
-
+ for (var port in info.ports){
+ htmlKeys += 'URL (difficulty ' + info.ports[port].diff + '):
';
+ htmlValues += 'stratum+tcp://' + info.host + ':' + port + '
';
+ }
if (info.coin)
$('#coinInfoUsername').text('your ' + info.coin.name + ' wallet address');
@@ -348,4 +309,10 @@
$('#coinInfoBackground').css('opacity', 0.0);
return false;
});
+
+ $('#nompAppDownload').click(function(event){
+ event.preventDefault();
+ alert('NOMP App development still in progress...');
+ return false;
+ });
diff --git a/website/pages/payments.html b/website/pages/payments.html
index 94500ca..4bffef2 100644
--- a/website/pages/payments.html
+++ b/website/pages/payments.html
@@ -58,7 +58,7 @@
- {{=it.stats.pools[pool].symbol}} Recent Payments
+ Recent Payments