mirror of
https://github.com/Retropex/custom-ocean.xyz-dashboard.git
synced 2025-05-12 19:20:45 +02:00
Changed default wallet
Update wallet address and improve user flow - Changed the `WALLET` environment variable in `docker-compose.yml` to a new Bitcoin address. - Updated the wallet address in the "Use Defaults" button handler in `boot.html`. - Modified the logic for user selection of 'N' to display the configuration form directly instead of redirecting to the dashboard. - Updated fallback messages to reflect the new title "MINING CONTROL SYSTEM".
This commit is contained in:
parent
f2ddcdd63a
commit
f8514eb35f
@ -16,7 +16,7 @@ services:
|
|||||||
- "5000:5000"
|
- "5000:5000"
|
||||||
environment:
|
environment:
|
||||||
- REDIS_URL=redis://redis:6379
|
- REDIS_URL=redis://redis:6379
|
||||||
- WALLET=bc1py5zmrtssheq3shd8cptpl5l5m3txxr5afynyg2gyvam6w78s4dlqqnt4v9
|
- WALLET=35eS5Lsqw8NCjFJ8zhp9JaEmyvLDwg6XtS
|
||||||
- POWER_COST=0
|
- POWER_COST=0
|
||||||
- POWER_USAGE=0
|
- POWER_USAGE=0
|
||||||
- LOG_LEVEL=INFO
|
- LOG_LEVEL=INFO
|
||||||
|
@ -675,7 +675,7 @@ v.21
|
|||||||
// Update Use Defaults button handler
|
// Update Use Defaults button handler
|
||||||
document.getElementById('use-defaults').addEventListener('click', function () {
|
document.getElementById('use-defaults').addEventListener('click', function () {
|
||||||
// Set default values including network fee
|
// Set default values including network fee
|
||||||
document.getElementById('wallet-address').value = "bc1py5zmrtssheq3shd8cptpl5l5m3txxr5afynyg2gyvam6w78s4dlqqnt4v9";
|
document.getElementById('wallet-address').value = "35eS5Lsqw8NCjFJ8zhp9JaEmyvLDwg6XtS";
|
||||||
document.getElementById('power-cost').value = 0.0;
|
document.getElementById('power-cost').value = 0.0;
|
||||||
document.getElementById('power-usage').value = 0.0;
|
document.getElementById('power-usage').value = 0.0;
|
||||||
document.getElementById('network-fee').value = 0.0;
|
document.getElementById('network-fee').value = 0.0;
|
||||||
@ -776,10 +776,14 @@ v.21
|
|||||||
}
|
}
|
||||||
setTimeout(processNextMessage, 500);
|
setTimeout(processNextMessage, 500);
|
||||||
} else {
|
} else {
|
||||||
// If user selects 'N', just redirect to dashboard
|
// If user selects 'N', show configuration form directly without boot messages
|
||||||
outputElement.innerHTML += "N\n\nDASHBOARD INITIALIZATION ABORTED.\n";
|
outputElement.innerHTML += "N\n\nDASHBOARD INITIALIZATION ABORTED.\n";
|
||||||
outputElement.innerHTML += "\nUsing default configuration values.\n";
|
outputElement.innerHTML += "\nPlease configure your mining setup:\n";
|
||||||
setTimeout(redirectToDashboard, 2000);
|
|
||||||
|
// Short pause and then show the configuration form
|
||||||
|
setTimeout(function () {
|
||||||
|
document.getElementById('config-form').style.display = 'block';
|
||||||
|
}, 1000);
|
||||||
}
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
setTimeout(redirectToDashboard, 1000);
|
setTimeout(redirectToDashboard, 1000);
|
||||||
@ -876,7 +880,7 @@ v.21
|
|||||||
// Fallback messages (used immediately)
|
// Fallback messages (used immediately)
|
||||||
function setupFallbackMessages() {
|
function setupFallbackMessages() {
|
||||||
bootMessages = [
|
bootMessages = [
|
||||||
{ text: "BITCOIN OS - MINING SYSTEM - v21.000.000\n", speed: 25, delay: 300 },
|
{ text: "BITCOIN OS - MINING CONTROL SYSTEM - v21.000.000\n", speed: 25, delay: 300 },
|
||||||
{ text: "Copyright (c) 2009-2025 Satoshi Nakamoto\n", speed: 20, delay: 250 },
|
{ text: "Copyright (c) 2009-2025 Satoshi Nakamoto\n", speed: 20, delay: 250 },
|
||||||
{ text: "All rights reserved.\n\n", speed: 25, delay: 300 },
|
{ text: "All rights reserved.\n\n", speed: 25, delay: 300 },
|
||||||
{ text: "INITIALIZING SYSTEM...\n", speed: 25, delay: 300 },
|
{ text: "INITIALIZING SYSTEM...\n", speed: 25, delay: 300 },
|
||||||
|
Loading…
Reference in New Issue
Block a user