From be27e3df52b37b6c58a24eab469bf5399843d59a Mon Sep 17 00:00:00 2001 From: Mononaut Date: Mon, 12 Dec 2022 18:24:10 -0600 Subject: [PATCH] check for txs in alternative backend mempool --- frontend/mempool-frontend-config.sample.json | 4 +- .../transaction/transaction.component.html | 13 ++- .../transaction/transaction.component.ts | 56 +++++++++++- .../app/services/alt-electrs-api.service.ts | 91 +++++++++++++++++++ frontend/src/app/services/state.service.ts | 4 + 5 files changed, 163 insertions(+), 5 deletions(-) create mode 100644 frontend/src/app/services/alt-electrs-api.service.ts diff --git a/frontend/mempool-frontend-config.sample.json b/frontend/mempool-frontend-config.sample.json index 5c0f92acf..dd94c29ec 100644 --- a/frontend/mempool-frontend-config.sample.json +++ b/frontend/mempool-frontend-config.sample.json @@ -20,5 +20,7 @@ "MAINNET_BLOCK_AUDIT_START_HEIGHT": 0, "TESTNET_BLOCK_AUDIT_START_HEIGHT": 0, "SIGNET_BLOCK_AUDIT_START_HEIGHT": 0, - "LIGHTNING": false + "LIGHTNING": false, + "FULL_RBF_ENABLED": false, + "ALT_BACKEND_URL": "https://rbf.mempool.space" } diff --git a/frontend/src/app/components/transaction/transaction.component.html b/frontend/src/app/components/transaction/transaction.component.html index b85f1cd24..ea99ff1f5 100644 --- a/frontend/src/app/components/transaction/transaction.component.html +++ b/frontend/src/app/components/transaction/transaction.component.html @@ -1,6 +1,13 @@
-
+ + + +