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 pool_configs/*.json
.vs/ .vs/
package-lock.json package-lock.json
*_finalRedisCommands.txt

View File

@ -14,8 +14,5 @@
"txURL": "https://explorer.btcprivate.org/tx/", "txURL": "https://explorer.btcprivate.org/tx/",
"blockURL": "https://explorer.btcprivate.org/block/", "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." "_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/", "txURL": "https://explorer.btcz.rocks/tx/",
"blockURL": "https://explorer.btcz.rocks/block/", "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." "_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/", "txURL": "http://bzc.avaxchain.com/insight/tx/",
"blockURL": "http://bzc.avaxchain.com/insight/block/", "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." "_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/", "txURL": "https://explorer.getbze.com/tx/",
"blockURL": "https://explorer.getbze.com/block/", "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." "_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/", "txURL": "http://explorer.genesisnetwork.io/tx/",
"blockURL": "http://explorer.genesisnetwork.io/block/", "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." "_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/", "txURL": "https://explorer.myhush.org/tx/",
"blockURL": "https://explorer.myhush.org/block/", "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." "_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/", "txURL": "https://kmdexplorer.io/tx/",
"blockURL": "https://kmdexplorer.io/block/", "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." "_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/", "txURL": "https://insight.litecoinz.org/tx/",
"blockURL": "https://insight.litecoinz.org/block/", "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." "_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/", "txURL": "https://explorer.safecoin.org/tx/",
"blockURL": "https://explorer.safecoin.org/block/", "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." "_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/", "txURL": "https://explorer.testnet.z.cash/tx/",
"blockURL": "https://explorer.testnet.z.cash/block/", "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." "_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/", "txURL": "https://explorer.vidulum.app/tx/",
"blockURL": "https://explorer.vidulum.app/block/", "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." "_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/", "txURL": "https://explorer.votecoin.site/tx/",
"blockURL": "https://explorer.votecoin.site/block/", "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." "_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/", "txURL": "https://insight.snowgem.org/tx/",
"blockURL": "https://insight.snowgem.org/block/", "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." "_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": "", "txURL": "",
"blockURL": "", "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." "_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": "", "txURL": "",
"blockURL": "", "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." "_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/", "txURL": "https://explorer.z.cash/tx/",
"blockURL": "https://explorer.z.cash/block/", "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." "_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/", "txURL": "https://explorer.zel.cash/tx/",
"blockURL": "https://explorer.zel.cash/block/", "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." "_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/", "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." "_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": [ "forks": [
{ {
"activationHeight": 0, "activationHeight": 0,

View File

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

View File

@ -64,65 +64,6 @@
"password": "" "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": { "switching": {
"switch1": { "switch1": {
"enabled": false, "enabled": false,

View File

@ -68,7 +68,7 @@
} }
.miningOption:first-child{ .miningOption:first-child{
background-color: #2d2d2d; background-color: #0eafc7;
} }
.miningOption:last-child{ .miningOption:last-child{
background-color: #b064e1; background-color: #b064e1;
@ -81,7 +81,6 @@
} }
.miningOptionInstructions{ .miningOptionInstructions{
flex: 1 1 auto; flex: 1 1 auto;
padding: 20px;
} }
.miningOptionInstructions > div:first-child{ .miningOptionInstructions > div:first-child{
@ -105,6 +104,7 @@
background-color: #ebf4fa; background-color: #ebf4fa;
color: #5c5c5c; color: #5c5c5c;
display: inline-block; display: inline-block;
width: 35px;
font-style: italic; font-style: italic;
} }
@ -128,7 +128,7 @@
left: 50%; left: 50%;
margin-left: -375px; margin-left: -375px;
position: absolute; position: absolute;
background-color: #2d2d2d; background-color: #f06350;
} }
#coinInfo .coinInfoName{ #coinInfo .coinInfoName{
text-transform: capitalize; text-transform: capitalize;
@ -178,11 +178,6 @@
#coinInfoClose:hover{ #coinInfoClose:hover{
color: #50f0e3; color: #50f0e3;
} }
.poolMinerTable {
}
table {
width: 100%;
}
</style> </style>
<div id="holder"> <div id="holder">
@ -232,40 +227,24 @@
</div> </div>
<div id="main"> <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"> <a href="#" class="miningOption" id="coinGlowTrigger">
<div class="miningOptionNum">2.</div>
<div class="miningOptionInstructions"> <div class="miningOptionInstructions">
<div>Select a coin for connection details</div> <div>Select a coin for connection details</div>
<div>Configurations for each coin are available for advanced miners</div> <div>Configurations for each coin are available for advanced miners</div>
</div> </div>
</a> </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>
</div> </div>
@ -281,7 +260,7 @@
</div> </div>
<div id="coinInfoRowValues"> <div id="coinInfoRowValues">
<div id="coinInfoUsername"></div> <div id="coinInfoUsername"></div>
<div>x</div> <div>anything</div>
</div> </div>
</div> </div>
</div> </div>
@ -292,29 +271,11 @@
var htmlKeys = '<div class="coinInfoData">Algorithm:</div>'; var htmlKeys = '<div class="coinInfoData">Algorithm:</div>';
var htmlValues = '<div class="coinInfoData">' + info.algo + '</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) if (info.coin)
$('#coinInfoUsername').text('your ' + info.coin.name + ' wallet address'); $('#coinInfoUsername').text('your ' + info.coin.name + ' wallet address');
@ -348,4 +309,10 @@
$('#coinInfoBackground').css('opacity', 0.0); $('#coinInfoBackground').css('opacity', 0.0);
return false; return false;
}); });
$('#nompAppDownload').click(function(event){
event.preventDefault();
alert('NOMP App development still in progress...');
return false;
});
</script> </script>

View File

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