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

rpc over tor hidden service for bitcoind #14

Merged
merged 3 commits into from Aug 9, 2021
Merged

rpc over tor hidden service for bitcoind #14

merged 3 commits into from Aug 9, 2021

Conversation

nickfarrow
Copy link
Member

SatSale can now connect to your bitcoin node via a tor hidden service.

Currently this requires

  1. Adding a hidden service on your node in /etc/tor/torrc
  2. Adding the hostname onion to config.py like tor_bitcoinrpc_host = "http://u7...bid.onion"
  3. Running tor on your SatSale machine, with torrc (thanks @x_y:matrix.org):
SocksPort 127.0.0.1:9050 IsolateClientProtocol IsolateDestPort IsolateDestAddr ExtendedErrors IPv6Traffic PreferIPv6 KeepAliveIsolateSOCKSAuth
SocksPolicy accept 127.0.0.1
SocksPolicy reject *

Works as an alternative to ssh_tunnel, and probably has some small server side privacy benefits?

Will be looking at building the same for lightning network gRPC this week.

@nickfarrow
Copy link
Member Author

Relevant issue: #10

@nickfarrow
Copy link
Member Author

Just going to merge this and find a solution for lnd later
https://twitter.com/coinjoiner/status/1424328752159367176

@nickfarrow nickfarrow merged commit 981a7b2 into master Aug 9, 2021
@nickfarrow nickfarrow deleted the tor branch August 9, 2021 16:47
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.

None yet

1 participant