mirror of
https://git.freebsd.org/ports.git
synced 2025-06-21 20:50:31 -04:00
A lighweight, highly customizable and standard compliant implementation of the Lightning Network protocol. https://github.com/ElementsProject/lightning
22 lines
733 B
Text
22 lines
733 B
Text
# An example lightningd config using Tor hidden service.
|
|
#
|
|
# Before starting lightningd configure Tor by adding the following 3 lines
|
|
# to %%LOCALBASE%%/etc/tor/torrc:
|
|
# HiddenServiceDir /var/db/tor/lightningd-bitcoin/
|
|
# HiddenServiceVersion 3
|
|
# HiddenServicePort 1234 127.0.0.1:5678
|
|
# and restart the tor daemon. Then see the hidden service name from
|
|
# /var/db/tor/lightningd-bitcoin/hostname and put it in announce-addr below.
|
|
#
|
|
# See "lightningd --help" for all possible options.
|
|
#
|
|
always-use-proxy=true
|
|
announce-addr=my-tor-hidden-service.onion:1234
|
|
bind-addr=127.0.0.1:5678
|
|
bitcoin-rpcconnect=127.0.0.1
|
|
bitcoin-rpcpassword=...
|
|
bitcoin-rpcport=...
|
|
bitcoin-rpcuser=...
|
|
log-file=lightningd.log
|
|
network=bitcoin
|
|
proxy=127.0.0.1:9050
|