Post
Topic
Board Development & Technical Discussion
Merits 3 from 2 users
Re: [Guide] FULL NODE OpenSUSE 15.3: bitcoind + electrs + c-lightning + RTL
by
n0nce
on 10/02/2022, 12:14:12 UTC
⭐ Merited by ETFbitcoin (2) ,JayJuanGee (1)
So, I checked my node again.
It's not needed with my guide, since I simply don't use CookieAuthentication.

Instead, I have these more compact, readable 3-liners for each service. In my opinion easier to understand what's going on, modify if needed and less modifications to the system.
[2] Create another Tor hidden service for C-Lightning. Similar procedure as before.
Code:
sudo nano /etc/tor/torrc

[3] Below the other hidden service, add this info for Lightning.
Code:
HiddenServiceDir /var/lib/tor/lightningd_hidden_service/
HiddenServiceVersion 3
HiddenServicePort 9735 127.0.0.1:9735

The official C-Lightning guide would have you do:
Code:
ControlPort 9051
CookieAuthentication 1
CookieAuthFileGroupReadable 1

You also need to make your user a member of the Tor group.