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.
This commit is contained in:
DJObleezy 2025-04-19 06:26:02 -07:00
parent f1eb0e22b9
commit f6b3fdb094
4 changed files with 7 additions and 7 deletions

View File

@ -234,6 +234,6 @@ Available under the MIT License. This is an independent project not affiliated w
## Acknowledgments ## Acknowledgments
- Ocean.xyz mining pool for their service - Ocean.xyz mining pool for their service
- Mempool.space - mempool.guide
- The open-source community for their contributions - The open-source community for their contributions
- Bitcoin protocol developers - Bitcoin protocol developers

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: 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 │
└────────┬────────┘ └────────┬────────┘ └────────┬────────┘ └────────┬────────┘ └────────┬────────┘ └────────┬────────┘
│ │ │ │ │ │
▼ ▼ ▼ ▼ ▼ ▼

View File

@ -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;
@ -671,7 +671,7 @@ function showBlockDetails(block) {
})); }));
headerSection.append(hashItem); headerSection.append(hashItem);
// Add mempool.space link // Add mempool.guide link
const linkItem = $("<div>", { const linkItem = $("<div>", {
class: "block-detail-item" class: "block-detail-item"
}); });
@ -684,7 +684,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"

View File

@ -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>