Shows the disabled miners data, use for debugging.
@@ -340,7 +334,7 @@
Functions
/functions/stat/set Set miner hashrate value, not useful for pool stats:
Parameters: (JSON, pool list as array, requires properties Name=StatName, Algorithm=Algorithm(s), Type=Hashrate, Value (0=failed; -1=disabled))
- e.g.: /functions/stat/set?Miners%3D%5B{"Name"%3A"SRBMinerMulti-v2.5.6-1xRadeonRX5700XT8GB"%2C"Algorithms"%3A%5B"Argon2d16000"%5D}%5D%26Type%3DHashrate%26Value%3D-1
+ e.g.: /functions/stat/set?Miners%3D%5B{"Name"%3A"SRBMinerMulti-v2.5.7-1xRadeonRX5700XT8GB"%2C"Algorithms"%3A%5B"Argon2d16000"%5D}%5D%26Type%3DHashrate%26Value%3D-1
/functions/pool/enable Enable disabled pool
diff --git a/Web/configedit.html b/Web/configedit.html
index 63036045..ca902966 100644
--- a/Web/configedit.html
+++ b/Web/configedit.html
@@ -52,7 +52,7 @@
Edit configuration
-
+
@@ -395,13 +395,13 @@
Edit configuration
Show profit column
-
+
Show profit bias column
Show earning column
-
+
Show earning bias column
@@ -419,15 +419,15 @@
Edit configuration
Show pool column
-
+
Show pool fee column
-
- Show all miners
+
+ Show all optimal miners
-
+
Show pool balances
@@ -786,7 +786,7 @@
Edit configuration
if (poolname == 'pool-miningpoolhub') {
if (document.getElementById(poolname).checked) {
$('.modal-title').text("Warning!");
- $('.modal-body').html("MiningPoolHub is no longer trustworthy.
Outstanding balances will not get paid and support will not respond.
Use at your own risk!");
+ $('.modal-body').html("You have enabled mining to MiningPoolHub.
The pool is no longer trustworthy.
Outstanding balances will not get paid and support will not respond.
Use at your own risk!");
$('#myModal').modal({
show: true
});
@@ -811,7 +811,7 @@
Edit configuration
if (document.getElementById(('pool-' + value).toString().toLowerCase())) document.getElementById(('pool-' + value).toString().toLowerCase()).checked = true;
if (value === "MiningPoolHub") {
$('.modal-title').text("Warning!");
- $('.modal-body').html("MiningPoolHub is no longer trustworthy.
Outstanding balances will not get paid and support will not respond.
Use at your own risk!");
+ $('.modal-body').html("You have enabled mining to MiningPoolHub.
The pool is no longer trustworthy.
Outstanding balances will not get paid and support will not respond.
Use at your own risk!");
$('#myModal').modal({
show: true
});
@@ -1044,6 +1044,20 @@
Edit configuration
document.body.style.cursor = 'default';
+ $.ajax({
+ async: false,
+ dataType: 'json',
+ timeout: 10,
+ url: '/functions/mining/getstatus',
+ success: function(result) {
+ if (result == 'FreshConfig') {
+ $('.modal-title').text('UG-Miner has no saved configuration');
+ $(".modal-body").html("Edit your settings and save the configuration.
Start making money by clicking 'Start mining'.
Happy mining!");
+ $('#myModal').modal({show:true});
+ };
+ }
+ });
+
// Error reading configuration
if (config && configfile && poolvariants && regions && devices) {
document.getElementById('save-button').disabled = false;
@@ -1480,7 +1494,7 @@
$('.modal-body').html('Cannot save configuration - you must select at least one mining device.');
document.body.style.cursor = 'default';
$('#myModal').modal({ show: true });
+ } else if (config.NiceHashWalletIsInternal && (!config.NiceHashWallet || config.NiceHashWallet == config.Wallets.BTC)) {
+ // Nicehash External but no wallet
+ $('.modal-title').html('Error: Invalid configuration');
+ $('.modal-body').html('Cannot save configuration - Internal NiceHash address must be different from your normal BTC wallet.');
+ document.body.style.cursor = 'default';
+ $('#myModal').modal({ show: true });
} else {
// No pool selected
$('.modal-title').html('Error: Invalid configuration');
diff --git a/Web/index.html b/Web/index.html
index b0bcf4d8..72dbaf27 100644
--- a/Web/index.html
+++ b/Web/index.html
@@ -34,7 +34,7 @@