Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Bitcoin core behind Tor Hidden service problem

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
PsySc0rpi0n
Posts: 322
Joined: 2012-10-24 13:54
Location: Bitcoin World
Has thanked: 8 times
Been thanked: 1 time

Bitcoin core behind Tor Hidden service problem

#1 Post by PsySc0rpi0n »

Hello.

I have installed Debian BullsEye in a RockPro64 board and I installed Bitcoin Core and Tor in it too.
When I setup an hidden service for Bitcoin Core, somehow I get 2 onion addresses instead of one.

My setup is the following:

/etc/tor/torrc

Code: Select all

ExitPolicy reject *:* # no exits allowed

ControlPort 9051
CookieAuthentication 1
CookieAutFileGroupReadable 1

HiddenServiceDir /var/lib/tor/bitcoin-node-service/
HiddenServiceVersion 3
HiddenServicePort 8333 127.0.0.1:8333
I get a single onion address from:

Code: Select all

/var/lib/tor/bitcoin-node-service/hostname
At Bitcoin Core config file I follow instructions from their docs Method 2, here:
https://en.bitcoin.it/wiki/Setting_up_a ... en_service

But when I run:

Code: Select all

bitcoin-cli getnetworkinfo
the output shows me 2 onion addresses instead of one. It shows an address I have no idea where it comes from, and the one I get from /var/lib/tor/bitcoin-node-service/hostname.

Why am I getting 2 onion addresses???


Post Reply