dcrwallet icon indicating copy to clipboard operation
dcrwallet copied to clipboard

Proxy support for SPV connection

Open itswisdomagain opened this issue 5 years ago • 2 comments

dcrwallet only currently supports specifying/using proxy for RPC connection. Can similar feature be added for SPV connection?

UPDATE: I'm requesting this dcrwallet provision for use on the mobile (Android/iOS) wallets. A feature to enable users specify proxy information that can then be applied to both SPV and RPC connections.

itswisdomagain avatar Jun 20 '19 12:06 itswisdomagain

Should be doable in theory. It might already work (but I haven't tested this) if you are using the libc DNS resolver instead of the native Go one (e.g. you haven't cross compiled and are not using the netgo build tag) and the PROXY environment variable is set.

jrick avatar Jun 20 '19 14:06 jrick

@jrick your suggestion might work, but it'd be better/more straightforward to include this as a dcrwallet feature. I've updated the issue description to better inform the desired use case. The goal is to roll out the feature as seamlessly as possible on decred wallets.

itswisdomagain avatar Jun 26 '19 00:06 itswisdomagain