Open jblachly opened 2 years ago
Hi @jblachly ,
This looks like a wallet issue rather than gdk. You can override electrum_tls
along with electrum_url
in the network parameters, but for green-android, in crypto/src/main/java/com/blockstream/gdk/GreenWallet.kt:registerCustomNetwork()
only electrum_url
is being passed in.
cc @domegabri
Confirming Qt and iOS are also affected.
Hi @jblachly ,
This looks like a wallet issue rather than gdk. You can override
electrum_tls
along withelectrum_url
in the network parameters, but for green-android, incrypto/src/main/java/com/blockstream/gdk/GreenWallet.kt:registerCustomNetwork()
onlyelectrum_url
is being passed in.cc @domegabri
It is ultimately a wallet issue, but I thought beginning in GDK (where the parameter lies) would be the most reasonable way to open discussion with the development team, rather than creating separate identical issues for each of the wallet platforms.
@jblachly Yes thanks for reporting here, @domegabri will coordinate with the wallet devs to get each updated. Thanks!
I am posting here as issue seems to affect all platforms tested (iOS; Mac OS), and configuration option causing problem on all platforms AFAICT is in this repository at: https://github.com/Blockstream/gdk/blob/fb8a9a0d0600212280c036a1a21e028202b5a3ad/src/network_parameters.cpp#L331
Description of Problem
I can't connect to a personal electrum server, which causes all sorts of unexpected failure behaviours across all platforms when creating or restoring wallets
Cause of problem
I believe this is because Green/GDK always forces Electrum TLS to be true, and I am running non-TLS only on port 50001.
Logs
GDK
Note
electrum_url
iselectrs.local:50001
, andelectrum_tls
isBool(true)
.Electrs
Setup details
Green Wallet, latest version from official channels on iOS and Mac OS
Electrs, git commit 1b4cc1ec0fd51caeea92da9d959a00805a4810a4 (latest)
Green and Electrs running on private network, not publicly exposed (hence no TLS)
Bitcoin mainnet