Skip to content

Commit 9b840fc

Browse files
committed
Backend: blacklist blockstream electrum servers
Blockstream electrum servers doesn't support sending verbose transactions, we use this functionality for getting confirmations of a transaction, this causes geewallet to crash. Blockstream/electrs#36
1 parent e1d67e8 commit 9b840fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/GWallet.Backend/Server.fs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ module ServerRegistry =
172172
// as these servers can only serve very limited set of queries (e.g. only balance?) their stats are skewed and
173173
// they create exception when being queried for advanced ones (e.g. latest block)
174174
server.ServerInfo.NetworkPath.Contains "blockscout" ||
175+
server.ServerInfo.NetworkPath.Contains "blockstream" ||
175176

176177
// there was a mistake when adding this server to geewallet's JSON: it was added in the ETC currency instead of ETH
177178
(currency = Currency.ETC && server.ServerInfo.NetworkPath.Contains "ethrpc.mewapi.io")

0 commit comments

Comments
 (0)