Configure/install boltzd for Lightning/on-chain swaps #378

Merged
raucao merged 5 commits from feature/boltz-lnd into master 2022-01-28 23:38:50 +00:00
Showing only changes of commit 90bd2dadb2 - Show all commits

View File

@ -43,7 +43,13 @@ rtl_config = {
}
],
multiPassHashed: credentials["multiPassHashed"]
}.to_json
}
if node['boltz']
# TODO adapt for multi-node usage
rtl_config[:nodes][0][:Authentication][:boltzMacaroonPath] = "#{node['boltz']['boltz_dir']}/macaroons"
rtl_config[:nodes][0][:Settings][:boltzServerUrl] = "https://#{node['boltz']['rest_host']}:#{node['boltz']['rest_port']}"
end
application rtl_dir do
owner bitcoin_user
@ -65,7 +71,7 @@ application rtl_dir do
owner bitcoin_user
group bitcoin_group
mode '0640'
content rtl_config
content rtl_config.to_json
notifies :restart, "systemd_unit[rtl.service]", :delayed
end