From f4fbeb61e9ec091aee2f54dadd4201149f66e21f Mon Sep 17 00:00:00 2001 From: Afshin Arani Date: Thu, 14 Jul 2022 12:57:22 +0430 Subject: [PATCH] Backend: blacklist blockstream electrum servers Blockstream electrum servers doesn't support sending verbose transactions, and we use this functionality for getting confirmations of a transaction, which causes a crash. https://github.com/Blockstream/electrs/pull/36 --- src/GWallet.Backend/Server.fs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/GWallet.Backend/Server.fs b/src/GWallet.Backend/Server.fs index 46ca7c703..a1471a546 100644 --- a/src/GWallet.Backend/Server.fs +++ b/src/GWallet.Backend/Server.fs @@ -173,6 +173,11 @@ module ServerRegistry = // they create exception when being queried for advanced ones (e.g. latest block) server.ServerInfo.NetworkPath.Contains "blockscout" || + // Blockstream electrum servers doesn't support sending verbose transactions, we use this functionality + // for getting confirmations of a transaction, this causes geewallet to crash. See: + // https://github.com/Blockstream/electrs/pull/36 + server.ServerInfo.NetworkPath.Contains "blockstream" || + // there was a mistake when adding this server to geewallet's JSON: it was added in the ETC currency instead of ETH (currency = Currency.ETC && server.ServerInfo.NetworkPath.Contains "ethrpc.mewapi.io")