switch to mempool guide

This commit is contained in:
Léo Haf 2025-04-18 10:53:01 +02:00 committed by GitHub
parent eef2414ae2
commit cf4a21cba4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 5 deletions

View File

@ -120,7 +120,7 @@ The application uses Jinja2 templates with a retro-themed design:
Client-side functionality is organized into modular JavaScript files:
- **main.js**: Dashboard functionality, real-time updates, and chart rendering
- **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
- **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 │
└────────┬────────┘ └────────┬────────┘ └────────┬────────┘
│ │ │
▼ ▼ ▼

View File

@ -2,7 +2,7 @@
// Global variables
let currentStartHeight = null;
const mempoolBaseUrl = "https://mempool.space";
const mempoolBaseUrl = "https://mempool.guide";
let blocksCache = {};
let isLoading = false;
@ -649,7 +649,7 @@ function showBlockDetails(block) {
href: `${mempoolBaseUrl}/block/${block.id}`,
target: "_blank",
class: "mempool-link",
text: "View on mempool.space",
text: "View on mempool.guide",
css: {
color: "#f7931a",
textDecoration: "none"

View File

@ -63,7 +63,7 @@
<div id="blocks-grid" class="blocks-grid">
<!-- Blocks will be generated here via JavaScript -->
<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>