From f6b3fdb0944b85249415b7dcc81974de612e0c71 Mon Sep 17 00:00:00 2001 From: DJObleezy Date: Sat, 19 Apr 2025 06:26:02 -0700 Subject: [PATCH] Update data source from mempool.space to mempool.guide This commit updates all references from "mempool.space" to "mempool.guide" in multiple files, including README.md, project_structure.md, blocks.js, and blocks.html. --- README.md | 2 +- project_structure.md | 4 ++-- static/js/blocks.js | 6 +++--- templates/blocks.html | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 526d362..3ceb7fc 100644 --- a/README.md +++ b/README.md @@ -234,6 +234,6 @@ Available under the MIT License. This is an independent project not affiliated w ## Acknowledgments - Ocean.xyz mining pool for their service -- Mempool.space +- mempool.guide - The open-source community for their contributions - Bitcoin protocol developers 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 7631c5d..00fbe20 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; @@ -671,7 +671,7 @@ function showBlockDetails(block) { })); headerSection.append(hashItem); - // Add mempool.space link + // Add mempool.guide link const linkItem = $("
", { class: "block-detail-item" }); @@ -684,7 +684,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