Support for Tor Network in CKB
Feature Request
Is your feature request related to a problem? Please describe.
Bitcoin supports the Tor network. I believe CKB should support it as well.
Describe the solution you'd like
Bitcoin's implementation includes starting/connecting a tor server and using the Tor server's control socket API to create an onion service. Similarly, I propose adding flags to CKB such as -proxy=ip:port (need #4473) , -onion=ip:port, -onlynet=onion, -torcontrol=, and -torpassword.
I am considering the following approach like Bitcoin:
- Start a Tor server that listens on port
9050. (Or enable tor'scontrol socket APIon9051, then let CKB use the tor socket API tor create onion service self) - Run CKB using a proxy to operate behind the Tor network:
./ckb run --proxy=127.0.0.1:9050.
Describe alternatives you've considered
There is a Tor implementation in Rust called arti, but I am concerned that it may not be production-ready.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
Done in #4733 ?