Skip to content

Commit

Permalink
Backend: blacklist blockstream electrum servers
Browse files Browse the repository at this point in the history
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
  • Loading branch information
aarani committed Aug 23, 2022
1 parent e1d67e8 commit 9b840fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/GWallet.Backend/Server.fs
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ module ServerRegistry =
// as these servers can only serve very limited set of queries (e.g. only balance?) their stats are skewed and
// they create exception when being queried for advanced ones (e.g. latest block)
server.ServerInfo.NetworkPath.Contains "blockscout" ||
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")
Expand Down

0 comments on commit 9b840fc

Please sign in to comment.