SOCKS5 proxy options are parsed, persisted, then silently ignored — wallet traffic goes direct despite --proxy
@tvpeter ci sta già lavorando.
Dal 17/9/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Describe the bug
The application accepts SOCKS5 proxy settings for its blockchain backends, saves them to config.toml, reloads them while running but never applies them. A user who sets --proxy 127.0.0.1:9050 expecting wallet sync to go over Tor is connecting directly to the electrum/esplora server, with no warning and no error.
To Reproduce
- Configure a wallet to point at
127.0.0.1:50100server and a proxy127.0.0.1:50200
bdk-cli --network testnet wallet --wallet tor config --ext-descriptor "<desc>" --int-descriptor "<desc>" \
--client-type electrum --database-type sqlite --url "tcp://127.0.0.1:50100" --proxy "127.0.0.1:50200"
it saves in config.toml.
- Run a sync:
bdk-cli --network testnet wallet --wallet tor syncand the proxy was not used.
Expected behavior
- With --proxy set, electrum and esplora connection goes through the SOCKS5 proxy, and none is made directly.
- If the proxy is unreachable or does not speak SOCKS5, the sync fails with an error rather than falling back to a direct connection.
- If a backend cannot honour the setting, the app should say so explicitly, either rejecting the option at config time or warning instead of accepting and discarding it.
Build environment
- BDK-CLI tag/commit: v4.0.0 20d69a1 (originally reported against 5b3cb00, v4.0.0)
- OS+version: macOS 26.6.2
- Rust/Cargo version: 1.98.1
- Rust/Cargo target: aarch64-apple-darwin
Additional context
- Lingua principale
- Rust
- Stelle
- 142
- Fork
- 99
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di bitcoindevkit/bdk-cli
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
bitcoindevkit/bdk-cli#332 · 2 commenti ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
bitcoindevkit/bdk-cli#330 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
bitcoindevkit/bdk-cli#318 ·
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
bitcoindevkit/bdk-cli#333 ·
-
bug
bitcoindevkit/bdk-cli#331 · 1 assegnatario ·
Tutte le issue di bitcoindevkit/bdk-cli
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
gitbutlerapp/gitbutler#15998 · 1 commento ·
-
bug triage:deciding
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
open-telemetry/otel-arrow#4132 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100