Author

Topic: Need help connecting to full node over Tor (Read 152 times)

legendary
Activity: 4466
Merit: 3391
March 24, 2021, 06:49:50 PM
#6
I have a Raspibolt node running using TOR. Raspibolt has the following configuration for bitcoind. Compare to yours.

Code:
# RaspiBolt: bitcoind configuration
# /mnt/ext/bitcoin/bitcoin.conf

# Bitcoin daemon
server=1
txindex=1

# Network
listen=1
listenonion=1
proxy=127.0.0.1:9050
bind=127.0.0.1

# Connections
rpcuser=raspibolt
rpcpassword=PASSWORD_[B]
zmqpubrawblock=tcp://127.0.0.1:28332
zmqpubrawtx=tcp://127.0.0.1:28333

# Raspberry Pi optimizations
maxconnections=40
maxuploadtarget=5000

# Initial block download optimizations
dbcache=2000
blocksonly=1

Also, why run both Bitcoin Core and Electrum on the RPi? I run Electrs on the RPi, which allows me to run electrum on any computer on my network.
legendary
Activity: 1568
Merit: 6660
bitcoincleanup.com / bitmixlist.org
Are you sure you are connecting to the hidden service at the correct port? If the logs say something like this:

Code:
I/i | interface.[mic3bk5pvma4ng7zkc3kdjmr2vv4wt72by7uw4bgqwxdijgw2bel5sad.onion:50002] | disconnecting due to: SOCKSFailure('connection refused')
I/n | network | couldn't launch iface mic3bk5pvma4ng7zkc3kdjmr2vv4wt72by7uw4bgqwxdijgw2bel5sad.onion:50002:t -- CancelledError()

Then you may have to check your Bitcoin Core configuration to find the port that it is listening on for onion connections.
legendary
Activity: 1596
Merit: 1288
use this https://github.com/bwt-dev/bwt#electrum-plugin if you have problems with EPS
newbie
Activity: 21
Merit: 1
Is this a Raspibolt?

Can you try this command below with verbose logging enabled

Code:
electrum -v --oneserver --server .onion:50002:s --proxy socks5:127.0.0.1:9050


But if it doesn't work try to connect Electrum using this command.

Code:
electrum -v --oneserver --server raspibolt.local:50002:s

Then update here to any errors popup here.

Not a raspibolt, just software manually installed.
What does the -v  do? 
I will try it.
legendary
Activity: 3374
Merit: 3095
Playbet.io - Crypto Casino and Sportsbook
Is this a Raspibolt?

Can you try this command below with verbose logging enabled

Code:
electrum -v --oneserver --server .onion:50002:s --proxy socks5:127.0.0.1:9050


But if it doesn't work try to connect Electrum using this command.

Code:
electrum -v --oneserver --server raspibolt.local:50002:s

Then update here to any errors popup here.
newbie
Activity: 21
Merit: 1
I have a raspberry pi with bitcoin core + electrum personal server. I would SSH into it and then run electrum with these arguments: ./electrum --oneserver --server localhost:50002:S . I later created a tor hidden service and got an onion address. I tried this: ./electrum --oneserver --server myOnion:50001:t -p socks5:localhost9050 and it would not connect.

On bitnodes my onion is up, though it does not say Tor under the network description, like it does for others. I forwarded port 8333.

I have these in the bitcoin.conf:

proxy=127.0.0.1:9050

listen=1

bind=127.0.0.1

I am unsure what I am meant to do. I want to connect to it through electrum and I want the maximum privacy, so I don't other people to be able to query my node. Am I meant to just do what I did before (./electrum --oneserver --server localhost:50002:S) and it is over tor since I have walletbroadcast=0 on, or am I meant to use a hidden service, in which case, what is the correct electrum argument?

Thank you.
Jump to: