Configure and run LND
This commit is contained in:
28
site-cookbooks/kosmos-bitcoin/templates/lnd.conf.erb
Normal file
28
site-cookbooks/kosmos-bitcoin/templates/lnd.conf.erb
Normal file
@@ -0,0 +1,28 @@
|
||||
[Application Options]
|
||||
debuglevel=<%= @lnd_log_level %>
|
||||
listen=0.0.0.0:<%= @lnd_port %>
|
||||
; rpclisten=127.0.0.1:10002
|
||||
; restlisten=127.0.0.1:8002
|
||||
externalip=<%= @lnd_public_ip %>:<%= @lnd_port %>
|
||||
alias=<%= @lnd_alias %>
|
||||
color=<%= @lnd_color %>
|
||||
maxpendingchannels=2
|
||||
minchansize=<%= @lnd_minchansize %>
|
||||
|
||||
[autopilot]
|
||||
autopilot.active=0
|
||||
|
||||
[Bitcoin]
|
||||
bitcoin.active=1
|
||||
bitcoin.mainnet=1
|
||||
bitcoin.node=bitcoind
|
||||
bitcoin.basefee=<%= @lnd_basefee %>
|
||||
bitcoin.feerate=<%= @lnd_feerate %>
|
||||
|
||||
[bitcoind]
|
||||
bitcoind.dir=<%= @bitcoin_datadir %>
|
||||
bitcoind.rpchost=<%= @bitcoin_rpc_host %>
|
||||
bitcoind.rpcuser=<%= @bitcoin_rpc_user %>
|
||||
bitcoind.rpcpass=<%= @bitcoin_rpc_password %>
|
||||
bitcoind.zmqpubrawblock=<%= @bitcoin_zmqpubrawblock %>
|
||||
bitcoind.zmqpubrawtx=<%= @bitcoin_zmqpubrawtx %>
|
||||
Reference in New Issue
Block a user