WIP Use clearnet connections for clearnet LND nodes

This commit is contained in:
Basti 2022-03-10 11:53:40 -06:00
parent c25e3632af
commit f8a59b9720
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72
3 changed files with 11 additions and 2 deletions

View File

@ -48,9 +48,13 @@ node.default['lnd']['public_ip'] = '148.251.237.111'
node.default['lnd']['public_port'] = '9735' node.default['lnd']['public_port'] = '9735'
node.default['lnd']['port'] = '9736' node.default['lnd']['port'] = '9736'
node.default['lnd']['minchansize'] = '1000000' node.default['lnd']['minchansize'] = '1000000'
node.default['lnd']['basefee'] = '1000' node.default['lnd']['basefee'] = '100'
node.default['lnd']['feerate'] = '50' node.default['lnd']['feerate'] = '10'
node.default['lnd']['auto_unlock'] = true # requires credentials/lnd data bag item node.default['lnd']['auto_unlock'] = true # requires credentials/lnd data bag item
node.default['lnd']['tor'] = {
'streamisolation' => 'false',
'skip-proxy-for-clearnet-targets' => 'true'
}
node.default['boltz']['repo'] = 'https://github.com/BoltzExchange/boltz-lnd.git' node.default['boltz']['repo'] = 'https://github.com/BoltzExchange/boltz-lnd.git'
node.default['boltz']['revision'] = 'v1.2.6' node.default['boltz']['revision'] = 'v1.2.6'

View File

@ -61,6 +61,7 @@ template "#{lnd_dir}/lnd.conf" do
lnd_basefee: node['lnd']['basefee'], lnd_basefee: node['lnd']['basefee'],
lnd_feerate: node['lnd']['feerate'], lnd_feerate: node['lnd']['feerate'],
lnd_dir: lnd_dir, lnd_dir: lnd_dir,
lnd_tor: node['lnd']['tor'],
auto_unlock: node['lnd']['auto_unlock'], auto_unlock: node['lnd']['auto_unlock'],
bitcoin_datadir: node['bitcoin']['datadir'], bitcoin_datadir: node['bitcoin']['datadir'],
bitcoin_rpc_user: node['bitcoin']['conf']['rpcuser'], bitcoin_rpc_user: node['bitcoin']['conf']['rpcuser'],

View File

@ -25,3 +25,7 @@ bitcoind.rpcuser=<%= @bitcoin_rpc_user %>
bitcoind.rpcpass=<%= @bitcoin_rpc_password %> bitcoind.rpcpass=<%= @bitcoin_rpc_password %>
bitcoind.zmqpubrawblock=<%= @bitcoin_zmqpubrawblock %> bitcoind.zmqpubrawblock=<%= @bitcoin_zmqpubrawblock %>
bitcoind.zmqpubrawtx=<%= @bitcoin_zmqpubrawtx %> bitcoind.zmqpubrawtx=<%= @bitcoin_zmqpubrawtx %>
[tor]
tor.streamisolation=<%= @lnd_tor['streamisolation'] %>
tor.skip-proxy-for-clearnet-targets=<%= @lnd_tor['skip-proxy-for-clearnet-targets'] %>