Revert "Fix/getting started (#195)" (#196)

This reverts commit 86c121295b.
This commit is contained in:
Potato 2022-08-12 23:29:07 -05:00 committed by GitHub
parent 86c121295b
commit 83f4ba2497
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
23 changed files with 27 additions and 177 deletions

1
.gitignore vendored
View File

@ -5,4 +5,3 @@ node_modules/
pool_configs/*.json
.vs/
package-lock.json
*_finalRedisCommands.txt

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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
}
}

View File

@ -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,

View File

@ -49,8 +49,5 @@
"4": 1935765626
},
"isZcash": true
},
"poolOptions": {
"confirmations": 100
}
}

View File

@ -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,

View File

@ -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%;
}
</style>
<div id="holder">
@ -232,40 +227,24 @@
</div>
<div id="main">
<a href="#" class="miningOption" id="nompAppDownload">
<div class="miningOptionNum">1.</div>
<div class="miningOptionInstructions">
<div>Download NOMP App</div>
<div>Our preconfigured app makes mining that easy</div>
</div>
</a>
<div id="orHolder">
<div id="orLine"></div>
<div id="orText">or</div>
</div>
<a href="#" class="miningOption" id="coinGlowTrigger">
<div class="miningOptionNum">2.</div>
<div class="miningOptionInstructions">
<div>Select a coin for connection details</div>
<div>Configurations for each coin are available for advanced miners</div>
</div>
</a>
<div id="orHolder">
<div id="orLine"></div>
<div id="orText">Available Miners</div>
</div>
<div class="poolMinerTable">
<table class="pure-table">
<thead>
<tr>
<th>Miner</th>
<th></th>
</tr>
</thead>
<tbody>
{{
for (var miner in it.portalConfig.availableMiners){
if(it.portalConfig.availableMiners[miner].enabled === true) {
}}
<tr class="pure-table-odd">
<td>{{=it.portalConfig.availableMiners[miner].name}}</td>
<td><a href="{{=it.portalConfig.availableMiners[miner].url}}">Download</a></td>
</tr>
{{
}
}
}}
</tbody>
</table>
</div>
</div>
</div>
@ -281,7 +260,7 @@
</div>
<div id="coinInfoRowValues">
<div id="coinInfoUsername"></div>
<div>x</div>
<div>anything</div>
</div>
</div>
</div>
@ -292,29 +271,11 @@
var htmlKeys = '<div class="coinInfoData">Algorithm:</div>';
var htmlValues = '<div class="coinInfoData">' + info.algo + '</div>';
{{
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 += '<div class="coinInfoData">Stratum {{=secure}}<span class="coinInfoSubtle"></span>:</div>';
htmlValues += '<div class="coinInfoData">{{=stratumHost}}:{{=ports}}</div>';
{{
}
}
}
}
}}
for (var port in info.ports){
htmlKeys += '<div class="coinInfoData">URL <span class="coinInfoSubtle">(difficulty ' + info.ports[port].diff + ')</span>:</div>';
htmlValues += '<div class="coinInfoData">stratum+tcp://' + info.host + ':' + port + '</div>';
}
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;
});
</script>

View File

@ -58,7 +58,7 @@
<div id="topPool">
<div class="poolWrapper">
<div class="poolLabel">
{{=it.stats.pools[pool].symbol}} Recent Payments
Recent Payments
</div>
<div class="poolMinerTable">
<table class="pure-table">