Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add tor proxy support to connect on onion endpoint #6

Closed
wants to merge 2 commits into from

Conversation

lvaccaro
Copy link
Contributor

@lvaccaro lvaccaro commented Jul 4, 2022

Add tor proxy support to connect on clightning node through onion endpoint.

For test with tor, pass tor socks5 istance on lnrpc.c:

	if (!(ok = lnsocket_connect(ln, nodeid, host, "127.0.0.1:9050")))
		goto done;

Signed-off-by: Luca Vaccaro <me@lvaccaro.com>
Signed-off-by: Luca Vaccaro <me@lvaccaro.com>
@jb55
Copy link
Owner

jb55 commented Jul 7, 2022

this is great! I'm on vacay right now but will review soon.

@jb55 jb55 closed this in b2debd2 Jul 7, 2022
@jb55
Copy link
Owner

jb55 commented Jul 7, 2022

Thanks! I changed the extra parameter in lnsocket_connect to a new function lnsocket_connect_tor because lnsocket_connect is a stable interface at this point, but otherwise LGTM. I will test this in https://lnlink.app...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants