You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, the client doesn't take env vars into account. The problem is that there is a wide variety of client use cases and only a subset of them supports env vars, so it didn't occur to me.
I think it would be interesting to support as long as there is no better way of overriding this default (which will likely be stateful and more complex).
Gatewayd could read from env here and set the client bitcoin rpc inside WalletClientGen instead of just using WalletClientGen::default(). This seems cleaner than having client library read from environment.
This is blocked on updating bitcoincoire-rpc to 0.17.0. The client can't currently use bitcoind for RPCs because it calls import_address_script, which throws an error when called on descriptor wallets. I believe this needs to be upgraded to import_descriptors which is available in bitcoincore-rpc 0.17.0
It seems the gateway will try to use the bitcoind defined on the wallet module consensus configuration, like:
Ignoring all local configuration like FM_BITCOIN_* variables
(Perhaps this problem isn't gateway specific and will happen with any client?)
The text was updated successfully, but these errors were encountered: