From 9503b2b7749958037474796c4e3077ea617f24a2 Mon Sep 17 00:00:00 2001 From: wiz Date: Sun, 18 Oct 2020 20:24:52 +0900 Subject: [PATCH] Change hard-coded references from blockstream.info to mempool.space --- Dockerfile | 2 +- backend/mempool-config.sample.json | 2 +- .../blockchain-blocks/block-modal/block-modal.component.html | 2 +- .../src/app/blockchain-blocks/blockchain-blocks.component.html | 2 +- frontend/src/app/tx-bubble/tx-bubble.component.html | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5a93ec84f..78e9ee355 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,7 +43,7 @@ ENV BITCOIN_NODE_USER bitcoinuser ENV BITCOIN_NODE_PASS bitcoinpass ENV TX_PER_SECOND_SPAN_SECONDS 150 ENV BACKEND_API bitcoind -ENV ELECTRS_API_URL https://www.blockstream.info/api +ENV ELECTRS_API_URL https://mempool.space/api RUN cd /mempool.space/frontend/ && \ npm run build && \ diff --git a/backend/mempool-config.sample.json b/backend/mempool-config.sample.json index 8fb428447..2186d05da 100644 --- a/backend/mempool-config.sample.json +++ b/backend/mempool-config.sample.json @@ -20,6 +20,6 @@ "BITCOIN_NODE_USER": "", "BITCOIN_NODE_PASS": "", "BACKEND_API": "bitcoind", - "ELECTRS_API_URL": "https://www.blockstream.info/api", + "ELECTRS_API_URL": "https://mempool.space/api", "TX_PER_SECOND_SPAN_SECONDS": 150 } diff --git a/frontend/src/app/blockchain-blocks/block-modal/block-modal.component.html b/frontend/src/app/blockchain-blocks/block-modal/block-modal.component.html index 7366f8024..8837bf50f 100644 --- a/frontend/src/app/blockchain-blocks/block-modal/block-modal.component.html +++ b/frontend/src/app/blockchain-blocks/block-modal/block-modal.component.html @@ -1,6 +1,6 @@