nervosnetwork / ckb

The Nervos CKB is a public permissionless blockchain, and the layer 1 of Nervos network.
https://www.nervos.org
MIT License
1.13k stars 222 forks source link

Set proxy for ckb node #4473

Open devchenyan opened 1 month ago

devchenyan commented 1 month ago

Feature Request

Is your feature request related to a problem? Please describe.

Due to underdeveloped networks in some countries, the ckb nodes run very slowly in their default configuration.

Describe the solution you'd like

I think there needs to be an official setting for the nodes to set up proxies.

It would be good to support SOCKS5, MTPROTO and HTTP proxy types. And provides easy-to-use commands, eg:

ckb run --proxy <PROTOCOL>://<HOST>:<PORT> <URL>
Keith-CY commented 2 weeks ago

Any update on this issue? @quake

quake commented 1 week ago

Thank you for your suggestion to add proxy support to ckb. But at the moment, it is not a high-priority task for us, and as ckb is a peer-to-peer network, we already have a significant number of nodes distributed worldwide. ( https://nodes.ckb.dev/ ) if you are experiencing connection issues, please provide a detailed description so we can better understand and address the problem.

yangby-cryptape commented 6 days ago

If users could use a self-hosted light client, all issues are solved. Then, I could use proxychains ckb-light-client xxx xxx .. manually; otherwise, lots command-line arguments of ckb-light-client will be required to be supported in Neuron in future, for various customized requirements.

Keith-CY commented 3 days ago

If users could use a self-hosted light client, all issues are solved. Then, I could use proxychains ckb-light-client xxx xxx .. manually; otherwise, lots command-line arguments of ckb-light-client will be required to be supported in Neuron in future, for various customized requirements.

Connecting to an external light client will be allowed