Hello
I've been running a full node for a while on my raspberry pi 4, and now I'd like to also run it as an onion service.
I thought that it would be cool to have a vanity v3 domain of some kind, so I've used mkp224o to generate one (bitcoinABC...DEF.onion, from now on I'll refer to this as <myonionaddr>.onion
Now, to use this onion address I've generated with Bitcoin Core, I've followed these two guides:
- https://en.bitcoin.it/wiki/Setting_up_a_Tor_hidden_service
- https://github.com/bitcoin/bitcoin/blob/master/doc/tor.md
- (I went for the manual setup route since I've got my own .onion address i want to use)
My problem is that from what I can see Bitcoin Core not only picks up my .onion address, but ALSO generates another one, and I can't understand if it's using both, or just one of them (which one?), or neither of those.
$ bitcoin-cli -rpcuser=<user> -rpcpassword=<password> -netinfo Bitcoin Core client v24.0.1 - server 70016/Satoshi:24.0.1/ ipv4 ipv6 onion total block in 22 0 1 23 out 10 0 0 10 2 total 32 0 1 33 Local addresses <myonionaddr>.onion port 8333 score 4 <NOTmyonionaddr>.onion port 8333 score 4
I'd like to ONLY have <myonionaddr>.onion as running onion service, and not two. Can you please help me fix this issue if it's possible? down below has more info.
.
.
Related files and configs:
- Bitcoin Core debug.log: https://pastebin.com/Y00f8UmD
- journalctl -e | grep tor: https://pastebin.com/bYKT16kw
- /etc/tor/torrc:
HiddenServiceDir /var/lib/tor/bitcoin-onion-service/ HiddenServicePort 8333 127.0.0.1:8334 ControlPort 9051
- Tor directory:
/var/lib/tor └─bitcoin-onion-service/ ├─autorized_clients/ ├─hostname ├─hs_ed25519_public_key └─hs_ed25519_secret_key ├─cached-certs ├─cached-microdesc-consensus ├─cached-microdesc ├─cached-microdescs.new └─keys/. └─ (copied over the same keys as in ../bitcoin-onion-service) ├─lock └─state
- (everything in bitcoin-onion-service/ and keys/ was generated with the above-mentioned software)
- related bitcoin.conf settings:
onion=127.0.0.1:9050 listen=1 externalip=<myonionaddr>.onion discover=1 debug=tor
- keep in mind I'm on a raspberry pi 4, every package is up to date (Bitcoin Core 24.0.1, tor 0.4.5.16)
Thank you for your time, if you need anything please ask and I'll add to this post.
Edit: typos
[link] [comments]
You can get bonuses upto $100 FREE BONUS when you:
💰 Install these recommended apps:
💲 SocialGood - 100% Crypto Back on Everyday Shopping
💲 xPortal - The DeFi For The Next Billion
💲 CryptoTab Browser - Lightweight, fast, and ready to mine!
💰 Register on these recommended exchanges:
🟡 Binance🟡 Bitfinex🟡 Bitmart🟡 Bittrex🟡 Bitget
🟡 CoinEx🟡 Crypto.com🟡 Gate.io🟡 Huobi🟡 Kucoin.
Comments