From b6dcb82f03689141f152604193efa4513dfb3acb Mon Sep 17 00:00:00 2001 From: Sam Holmes Date: Thu, 12 Dec 2024 14:00:39 -0800 Subject: [PATCH 1/2] Add Edge Blockbook servers This added Edge hosted Blockbook to BTC, BCH, DASH, DOGE, LTC, and FIRO. --- src/common/utxobased/info/bitcoin.ts | 1 + src/common/utxobased/info/bitcoincash.ts | 1 + src/common/utxobased/info/dash.ts | 1 + src/common/utxobased/info/dogecoin.ts | 1 + src/common/utxobased/info/litecoin.ts | 1 + src/common/utxobased/info/zcoin.ts | 1 + 6 files changed, 6 insertions(+) diff --git a/src/common/utxobased/info/bitcoin.ts b/src/common/utxobased/info/bitcoin.ts index 4435cf91..a95a2fad 100644 --- a/src/common/utxobased/info/bitcoin.ts +++ b/src/common/utxobased/info/bitcoin.ts @@ -39,6 +39,7 @@ const currencyInfo: EdgeCurrencyInfo = { 'wss://btc3.trezor.io', 'wss://btc4.trezor.io', 'wss://btc5.trezor.io', + 'wss://btc-wusa1.edge.app', 'wss://btcbook.nownodes.io/wss/%{nowNodesApiKey}' ], enableCustomServers: false diff --git a/src/common/utxobased/info/bitcoincash.ts b/src/common/utxobased/info/bitcoincash.ts index 9dab5d02..d25b0e09 100644 --- a/src/common/utxobased/info/bitcoincash.ts +++ b/src/common/utxobased/info/bitcoincash.ts @@ -40,6 +40,7 @@ const currencyInfo: EdgeCurrencyInfo = { 'wss://bch3.trezor.io', 'wss://bch4.trezor.io', 'wss://bch5.trezor.io', + 'wss://bch-wusa1.edge.app', 'wss://bchbook.nownodes.io/wss/%{nowNodesApiKey}' ], enableCustomServers: false diff --git a/src/common/utxobased/info/dash.ts b/src/common/utxobased/info/dash.ts index a177cd47..fe523d57 100644 --- a/src/common/utxobased/info/dash.ts +++ b/src/common/utxobased/info/dash.ts @@ -39,6 +39,7 @@ const currencyInfo: EdgeCurrencyInfo = { 'wss://dash3.trezor.io', 'wss://dash4.trezor.io', 'wss://dash5.trezor.io', + 'wss://dash-wusa1.edge.app', 'wss://dash.nownodes.io/wss/%{nowNodesApiKey}' ], enableCustomServers: false diff --git a/src/common/utxobased/info/dogecoin.ts b/src/common/utxobased/info/dogecoin.ts index 7f8b6b08..4e5a8da3 100644 --- a/src/common/utxobased/info/dogecoin.ts +++ b/src/common/utxobased/info/dogecoin.ts @@ -35,6 +35,7 @@ const currencyInfo: EdgeCurrencyInfo = { 'wss://doge3.trezor.io', 'wss://doge4.trezor.io', 'wss://doge5.trezor.io', + 'wss://doge-wusa1.edge.app', 'wss://dogebook.nownodes.io/wss/%{nowNodesApiKey}' ], enableCustomServers: false diff --git a/src/common/utxobased/info/litecoin.ts b/src/common/utxobased/info/litecoin.ts index 52d4cc19..0409eaea 100644 --- a/src/common/utxobased/info/litecoin.ts +++ b/src/common/utxobased/info/litecoin.ts @@ -37,6 +37,7 @@ export const currencyInfo: EdgeCurrencyInfo = { 'wss://ltc3.trezor.io', 'wss://ltc4.trezor.io', 'wss://ltc5.trezor.io', + 'wss://ltc-wusa1.edge.app', 'wss://ltcbook.nownodes.io/wss/%{nowNodesApiKey}' ], enableCustomServers: false diff --git a/src/common/utxobased/info/zcoin.ts b/src/common/utxobased/info/zcoin.ts index 04958670..0f8fa975 100644 --- a/src/common/utxobased/info/zcoin.ts +++ b/src/common/utxobased/info/zcoin.ts @@ -32,6 +32,7 @@ export const currencyInfo: EdgeCurrencyInfo = { customFeeSettings: ['satPerByte'], blockbookServers: [ 'wss://blockbook.firo.org', + 'wss://firo-wusa1.edge.app', 'wss://firo.nownodes.io/wss/%{nowNodesApiKey}' ], enableCustomServers: false From 9962d7ebdd3c05775f6481e838f8398c62fa7752 Mon Sep 17 00:00:00 2001 From: Sam Holmes Date: Thu, 12 Dec 2024 14:12:30 -0800 Subject: [PATCH 2/2] Add Edge-hosted blockbook-nownode connections --- CHANGELOG.md | 2 ++ src/common/utxobased/info/bitcoin.ts | 4 ++++ src/common/utxobased/info/bitcoincash.ts | 4 ++++ src/common/utxobased/info/dash.ts | 4 ++++ src/common/utxobased/info/dogecoin.ts | 4 ++++ src/common/utxobased/info/litecoin.ts | 4 ++++ src/common/utxobased/info/zcoin.ts | 4 ++++ 7 files changed, 26 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 36c9a342..14ec8bd3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +- added: Edge servers added to blockbook server list for BTC, BCH, DOGE, FIRO, and LTC. + ## 3.4.4 (2024-11-08) - fixed: Improper handling of WebSocket message processing errors, causing sync-halting. diff --git a/src/common/utxobased/info/bitcoin.ts b/src/common/utxobased/info/bitcoin.ts index a95a2fad..f1ed558d 100644 --- a/src/common/utxobased/info/bitcoin.ts +++ b/src/common/utxobased/info/bitcoin.ts @@ -49,6 +49,10 @@ const currencyInfo: EdgeCurrencyInfo = { const engineInfo: EngineInfo = { serverConfigs: [ + { + type: 'blockbook-nownode', + uris: ['https://btc-wusa1.edge.app'] + }, { type: 'blockbook-nownode', uris: ['https://btcbook.nownodes.io'] diff --git a/src/common/utxobased/info/bitcoincash.ts b/src/common/utxobased/info/bitcoincash.ts index d25b0e09..d0d0c866 100644 --- a/src/common/utxobased/info/bitcoincash.ts +++ b/src/common/utxobased/info/bitcoincash.ts @@ -50,6 +50,10 @@ const currencyInfo: EdgeCurrencyInfo = { const engineInfo: EngineInfo = { serverConfigs: [ + { + type: 'blockbook-nownode', + uris: ['https://bch-wusa1.edge.app'] + }, { type: 'blockbook-nownode', uris: ['https://bchbook.nownodes.io'] diff --git a/src/common/utxobased/info/dash.ts b/src/common/utxobased/info/dash.ts index fe523d57..2324122c 100644 --- a/src/common/utxobased/info/dash.ts +++ b/src/common/utxobased/info/dash.ts @@ -49,6 +49,10 @@ const currencyInfo: EdgeCurrencyInfo = { const engineInfo: EngineInfo = { serverConfigs: [ + { + type: 'blockbook-nownode', + uris: ['https://dash-wusa1.edge.app'] + }, { type: 'blockbook-nownode', uris: ['https://dashbook.nownodes.io'] diff --git a/src/common/utxobased/info/dogecoin.ts b/src/common/utxobased/info/dogecoin.ts index 4e5a8da3..b403e9f4 100644 --- a/src/common/utxobased/info/dogecoin.ts +++ b/src/common/utxobased/info/dogecoin.ts @@ -45,6 +45,10 @@ const currencyInfo: EdgeCurrencyInfo = { const engineInfo: EngineInfo = { serverConfigs: [ + { + type: 'blockbook-nownode', + uris: ['https://doge-wusa1.edge.app'] + }, { type: 'blockbook-nownode', uris: ['https://dogebook.nownodes.io'] diff --git a/src/common/utxobased/info/litecoin.ts b/src/common/utxobased/info/litecoin.ts index 0409eaea..b344da4f 100644 --- a/src/common/utxobased/info/litecoin.ts +++ b/src/common/utxobased/info/litecoin.ts @@ -47,6 +47,10 @@ export const currencyInfo: EdgeCurrencyInfo = { export const engineInfo: EngineInfo = { serverConfigs: [ + { + type: 'blockbook-nownode', + uris: ['https://ltc-wusa1.edge.app'] + }, { type: 'blockbook-nownode', uris: ['https://ltcbook.nownodes.io'] diff --git a/src/common/utxobased/info/zcoin.ts b/src/common/utxobased/info/zcoin.ts index 0f8fa975..fe61a647 100644 --- a/src/common/utxobased/info/zcoin.ts +++ b/src/common/utxobased/info/zcoin.ts @@ -42,6 +42,10 @@ export const currencyInfo: EdgeCurrencyInfo = { export const engineInfo: EngineInfo = { serverConfigs: [ + { + type: 'blockbook-nownode', + uris: ['https://firo-wusa1.edge.app'] + }, { type: 'blockbook-nownode', uris: ['https://firobook.nownodes.io']