Fix lndhub balances with on-chain topups
Removes the bitcoind RPC config entirely, so lndhub only uses LND's transaction monitoring. The bitcoind integration is broken as is.
This commit is contained in:
@@ -11,7 +11,6 @@ app_dir = "/opt/#{app_name}"
|
||||
lnd_dir = node['lnd']['lnd_dir']
|
||||
bitcoin_user = node['bitcoin']['username']
|
||||
bitcoin_group = node['bitcoin']['usergroup']
|
||||
bitcoin_credentials = Chef::EncryptedDataBagItem.load('credentials', 'bitcoin')
|
||||
|
||||
application app_dir do
|
||||
owner bitcoin_user
|
||||
@@ -46,10 +45,7 @@ application app_dir do
|
||||
owner bitcoin_user
|
||||
group bitcoin_group
|
||||
mode '0600'
|
||||
variables bitcoin_rpc_host: node['bitcoin']['conf']['rpcbind'],
|
||||
bitcoin_rpc_user: node['bitcoin']['conf']['rpcuser'],
|
||||
bitcoin_rpc_pass: bitcoin_credentials["rpcpassword"],
|
||||
lnd_rpc_host: '127.0.0.1:10009'
|
||||
variables lnd_rpc_host: '127.0.0.1:10009'
|
||||
notifies :restart, "systemd_unit[lndhub.service]", :delayed
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user