From da242d4817b75fc0b690f7a75b42272c396ca2fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Wed, 16 Oct 2024 11:29:06 +0200 Subject: [PATCH] Upgrade LND to 0.18.3 --- site-cookbooks/kosmos-bitcoin/attributes/default.rb | 2 +- site-cookbooks/kosmos-bitcoin/recipes/golang.rb | 2 +- site-cookbooks/kosmos-bitcoin/templates/lnd.conf.erb | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/site-cookbooks/kosmos-bitcoin/attributes/default.rb b/site-cookbooks/kosmos-bitcoin/attributes/default.rb index 6c5d65d..2a37593 100644 --- a/site-cookbooks/kosmos-bitcoin/attributes/default.rb +++ b/site-cookbooks/kosmos-bitcoin/attributes/default.rb @@ -41,7 +41,7 @@ node.default['c-lightning']['log_level'] = 'info' node.default['c-lightning']['public_ip'] = '148.251.237.73' node.default['lnd']['repo'] = 'https://github.com/lightningnetwork/lnd' -node.default['lnd']['revision'] = 'v0.17.3-beta' +node.default['lnd']['revision'] = 'v0.18.3-beta' node.default['lnd']['source_dir'] = '/opt/lnd' node.default['lnd']['lnd_dir'] = "/home/#{node['bitcoin']['username']}/.lnd" node.default['lnd']['alias'] = 'ln2.kosmos.org' diff --git a/site-cookbooks/kosmos-bitcoin/recipes/golang.rb b/site-cookbooks/kosmos-bitcoin/recipes/golang.rb index 3ac886b..23158fe 100644 --- a/site-cookbooks/kosmos-bitcoin/recipes/golang.rb +++ b/site-cookbooks/kosmos-bitcoin/recipes/golang.rb @@ -5,7 +5,7 @@ # Internal recipe for managing the Go installation in one place # -node.override['golang']['version'] = "1.20.3" +node.override['golang']['version'] = "1.23.1" include_recipe "golang" link '/usr/local/bin/go' do diff --git a/site-cookbooks/kosmos-bitcoin/templates/lnd.conf.erb b/site-cookbooks/kosmos-bitcoin/templates/lnd.conf.erb index 3e43d01..f68473b 100644 --- a/site-cookbooks/kosmos-bitcoin/templates/lnd.conf.erb +++ b/site-cookbooks/kosmos-bitcoin/templates/lnd.conf.erb @@ -12,7 +12,6 @@ minchansize=<%= @lnd_minchansize %> autopilot.active=0 [Bitcoin] -bitcoin.active=1 bitcoin.mainnet=1 bitcoin.node=bitcoind bitcoin.basefee=<%= @lnd_basefee %>