Fix/getting started (#195)
* Fix getting started, payments, and update config_example.json
This commit is contained in:
parent
7436a0d74d
commit
86c121295b
|
@ -5,3 +5,4 @@ node_modules/
|
|||
pool_configs/*.json
|
||||
.vs/
|
||||
package-lock.json
|
||||
*_finalRedisCommands.txt
|
||||
|
|
|
@ -14,5 +14,8 @@
|
|||
"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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -122,5 +122,8 @@
|
|||
"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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,5 +64,8 @@
|
|||
"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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,5 +15,8 @@
|
|||
"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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,6 +30,9 @@
|
|||
"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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,5 +9,8 @@
|
|||
"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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,5 +8,8 @@
|
|||
"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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,5 +15,8 @@
|
|||
"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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,5 +13,8 @@
|
|||
"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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,5 +30,8 @@
|
|||
"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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,5 +17,8 @@
|
|||
"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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,5 +12,8 @@
|
|||
"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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,5 +16,8 @@
|
|||
"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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -70,5 +70,8 @@
|
|||
"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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,5 +16,8 @@
|
|||
"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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -66,5 +66,8 @@
|
|||
"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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,5 +16,8 @@
|
|||
"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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,9 @@
|
|||
"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,
|
||||
|
|
|
@ -49,5 +49,8 @@
|
|||
"4": 1935765626
|
||||
},
|
||||
"isZcash": true
|
||||
},
|
||||
"poolOptions": {
|
||||
"confirmations": 100
|
||||
}
|
||||
}
|
||||
|
|
|
@ -64,6 +64,65 @@
|
|||
"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,
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
}
|
||||
|
||||
.miningOption:first-child{
|
||||
background-color: #0eafc7;
|
||||
background-color: #2d2d2d;
|
||||
}
|
||||
.miningOption:last-child{
|
||||
background-color: #b064e1;
|
||||
|
@ -81,6 +81,7 @@
|
|||
}
|
||||
.miningOptionInstructions{
|
||||
flex: 1 1 auto;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.miningOptionInstructions > div:first-child{
|
||||
|
@ -104,7 +105,6 @@
|
|||
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: #f06350;
|
||||
background-color: #2d2d2d;
|
||||
}
|
||||
#coinInfo .coinInfoName{
|
||||
text-transform: capitalize;
|
||||
|
@ -178,6 +178,11 @@
|
|||
#coinInfoClose:hover{
|
||||
color: #50f0e3;
|
||||
}
|
||||
.poolMinerTable {
|
||||
}
|
||||
table {
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div id="holder">
|
||||
|
@ -227,24 +232,40 @@
|
|||
</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>
|
||||
|
||||
|
@ -260,7 +281,7 @@
|
|||
</div>
|
||||
<div id="coinInfoRowValues">
|
||||
<div id="coinInfoUsername"></div>
|
||||
<div>anything</div>
|
||||
<div>x</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -271,11 +292,29 @@
|
|||
|
||||
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');
|
||||
|
@ -309,10 +348,4 @@
|
|||
$('#coinInfoBackground').css('opacity', 0.0);
|
||||
return false;
|
||||
});
|
||||
|
||||
$('#nompAppDownload').click(function(event){
|
||||
event.preventDefault();
|
||||
alert('NOMP App development still in progress...');
|
||||
return false;
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
<div id="topPool">
|
||||
<div class="poolWrapper">
|
||||
<div class="poolLabel">
|
||||
Recent Payments
|
||||
{{=it.stats.pools[pool].symbol}} Recent Payments
|
||||
</div>
|
||||
<div class="poolMinerTable">
|
||||
<table class="pure-table">
|
||||
|
|
Loading…
Reference in New Issue