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
p2p: add optional SOCKS5 proxy support for outbound peer dials
- Add `UseProxy` field to `p2p.Config` and corresponding `--use-proxy` CLI flag.
- Implement proxy-aware `tcpDialer` (uses `golang.org/x/net/proxy` and attempts context-aware DialContext when supported).
- Wire `UseProxy` through `Server` to the dialer so peer dials can go via SOCKS5 proxy defined by `ALL_PROXY`/`all_proxy`.
- Minor debug `start.sh` for running geth with `--use-proxy`.
Signed-off-by: cloorc <[email protected]>
0 commit comments