From cf4a21cba4c87b333a4a93f3ac282231a2ea50ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Haf?= Date: Fri, 18 Apr 2025 10:53:01 +0200 Subject: [PATCH] switch to mempool guide --- project_structure.md | 4 ++-- static/js/blocks.js | 4 ++-- templates/blocks.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/project_structure.md b/project_structure.md index e1e6133..46f7788 100644 --- a/project_structure.md +++ b/project_structure.md @@ -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 │ └────────┬────────┘ └────────┬────────┘ └────────┬────────┘ │ │ │ ▼ ▼ ▼ diff --git a/static/js/blocks.js b/static/js/blocks.js index 69cda47..a1ee759 100644 --- a/static/js/blocks.js +++ b/static/js/blocks.js @@ -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" diff --git a/templates/blocks.html b/templates/blocks.html index 6ca117e..d9c63fe 100644 --- a/templates/blocks.html +++ b/templates/blocks.html @@ -63,7 +63,7 @@
- Connecting to mempool.space API + Connecting to mempool.guide API