mirror of
https://github.com/Retropex/custom-ocean.xyz-dashboard.git
synced 2025-05-12 19:20:45 +02:00
switch to mempool guide
This commit is contained in:
parent
eef2414ae2
commit
cf4a21cba4
@ -120,7 +120,7 @@ The application uses Jinja2 templates with a retro-themed design:
|
|||||||
Client-side functionality is organized into modular JavaScript files:
|
Client-side functionality is organized into modular JavaScript files:
|
||||||
- **main.js**: Dashboard functionality, real-time updates, and chart rendering
|
- **main.js**: Dashboard functionality, real-time updates, and chart rendering
|
||||||
- **workers.js**: Worker grid rendering, filtering, and mini-chart creation
|
- **workers.js**: Worker grid rendering, filtering, and mini-chart creation
|
||||||
- **blocks.js**: Block explorer with data fetching from mempool.space
|
- **blocks.js**: Block explorer with data fetching from mempool.guide
|
||||||
- **block-animation.js**: Interactive block mining animation
|
- **block-animation.js**: Interactive block mining animation
|
||||||
- **BitcoinProgressBar.js**: Floating system monitor with uptime and connection status
|
- **BitcoinProgressBar.js**: Floating system monitor with uptime and connection status
|
||||||
|
|
||||||
@ -210,7 +210,7 @@ All hashrates are normalized to TH/s internally because:
|
|||||||
|
|
||||||
```
|
```
|
||||||
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
|
┌─────────────────┐ ┌─────────────────┐ ┌─────────────────┐
|
||||||
│ Ocean.xyz API │ │ blockchain.info │ │ mempool.space │
|
│ Ocean.xyz API │ │ blockchain.info │ │ mempool.guide │
|
||||||
└────────┬────────┘ └────────┬────────┘ └────────┬────────┘
|
└────────┬────────┘ └────────┬────────┘ └────────┬────────┘
|
||||||
│ │ │
|
│ │ │
|
||||||
▼ ▼ ▼
|
▼ ▼ ▼
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
// Global variables
|
// Global variables
|
||||||
let currentStartHeight = null;
|
let currentStartHeight = null;
|
||||||
const mempoolBaseUrl = "https://mempool.space";
|
const mempoolBaseUrl = "https://mempool.guide";
|
||||||
let blocksCache = {};
|
let blocksCache = {};
|
||||||
let isLoading = false;
|
let isLoading = false;
|
||||||
|
|
||||||
@ -649,7 +649,7 @@ function showBlockDetails(block) {
|
|||||||
href: `${mempoolBaseUrl}/block/${block.id}`,
|
href: `${mempoolBaseUrl}/block/${block.id}`,
|
||||||
target: "_blank",
|
target: "_blank",
|
||||||
class: "mempool-link",
|
class: "mempool-link",
|
||||||
text: "View on mempool.space",
|
text: "View on mempool.guide",
|
||||||
css: {
|
css: {
|
||||||
color: "#f7931a",
|
color: "#f7931a",
|
||||||
textDecoration: "none"
|
textDecoration: "none"
|
||||||
|
@ -63,7 +63,7 @@
|
|||||||
<div id="blocks-grid" class="blocks-grid">
|
<div id="blocks-grid" class="blocks-grid">
|
||||||
<!-- Blocks will be generated here via JavaScript -->
|
<!-- Blocks will be generated here via JavaScript -->
|
||||||
<div class="loader">
|
<div class="loader">
|
||||||
<span class="loader-text">Connecting to mempool.space API<span class="terminal-cursor"></span></span>
|
<span class="loader-text">Connecting to mempool.guide API<span class="terminal-cursor"></span></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user