Skip to content

Commit ad79439

Browse files
committed
multi: update lnd to v0.18.4-beta
1 parent 172c5da commit ad79439

16 files changed

+144
-123
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
# go needs absolute directories, using the $HOME variable doesn't work here.
1717
GOCACHE: /home/runner/work/go/pkg/build
1818
GOPATH: /home/runner/work/go
19-
GO_VERSION: 1.22.3
19+
GO_VERSION: 1.22.6
2020

2121
jobs:
2222
########################

cmd/chantools/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const (
3737
// lndVersion is the current version of lnd that we support. This is
3838
// shown in some commands that affect the database and its migrations.
3939
// Run "make docs" after changing this value.
40-
lndVersion = "v0.18.3-beta"
40+
lndVersion = "v0.18.4-beta"
4141

4242
Commit = ""
4343
)

cmd/chantools/zombierecovery_makeoffer.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,12 @@ import (
2020
"github.com/btcsuite/btcd/btcutil/hdkeychain"
2121
"github.com/btcsuite/btcd/btcutil/psbt"
2222
"github.com/btcsuite/btcd/chaincfg"
23+
"github.com/btcsuite/btcd/chaincfg/chainhash"
2324
"github.com/btcsuite/btcd/txscript"
2425
"github.com/btcsuite/btcd/wire"
2526
"github.com/btcsuite/btcwallet/wallet"
2627
"github.com/lightninglabs/chantools/lnd"
28+
"github.com/lightningnetwork/lnd/fn"
2729
"github.com/lightningnetwork/lnd/input"
2830
"github.com/lightningnetwork/lnd/keychain"
2931
"github.com/lightningnetwork/lnd/lnwallet"
@@ -650,7 +652,9 @@ func matchScript(address string, key1, key2 *btcec.PublicKey,
650652
pkScript, nil
651653

652654
case *btcutil.AddressTaproot:
653-
pkScript, _, err := input.GenTaprootFundingScript(key1, key2, 0)
655+
pkScript, _, err := input.GenTaprootFundingScript(
656+
key1, key2, 0, fn.None[chainhash.Hash](),
657+
)
654658
if err != nil {
655659
return false, nil, nil, err
656660
}

doc/chantools_deletepayments.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ If only the failed payments should be deleted (and not the successful ones), the
1010

1111
CAUTION: Running this command will make it impossible to use the channel DB
1212
with an older version of lnd. Downgrading is not possible and you'll need to
13-
run lnd v0.18.3-beta or later after using this command!'
13+
run lnd v0.18.4-beta or later after using this command!'
1414

1515
```
1616
chantools deletepayments [flags]

doc/chantools_dropchannelgraph.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ without removing any other data.
1212

1313
CAUTION: Running this command will make it impossible to use the channel DB
1414
with an older version of lnd. Downgrading is not possible and you'll need to
15-
run lnd v0.18.3-beta or later after using this command!'
15+
run lnd v0.18.4-beta or later after using this command!'
1616

1717
```
1818
chantools dropchannelgraph [flags]

doc/chantools_dropgraphzombies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ be helpful to fix a graph that is out of sync with the network.
1212

1313
CAUTION: Running this command will make it impossible to use the channel DB
1414
with an older version of lnd. Downgrading is not possible and you'll need to
15-
run lnd v0.18.3-beta or later after using this command!'
15+
run lnd v0.18.4-beta or later after using this command!'
1616

1717
```
1818
chantools dropgraphzombies [flags]

doc/chantools_fakechanbackup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ chantools fakechanbackup --from_channel_graph lncli_describegraph.json \
6161
--channelpoint string funding transaction outpoint of the channel to rescue (<txid>:<txindex>) as it is displayed on 1ml.com
6262
--from_channel_graph string the full LN channel graph in the JSON format that the 'lncli describegraph' returns
6363
-h, --help help for fakechanbackup
64-
--multi_file string the fake channel backup file to create (default "results/fake-2024-10-28-13-17-27.backup")
64+
--multi_file string the fake channel backup file to create (default "results/fake-2024-12-27-13-52-07.backup")
6565
--remote_node_addr string the remote node connection information in the format pubkey@host:port
6666
--rootkey string BIP32 HD root key of the wallet to use for encrypting the backup; leave empty to prompt for lnd 24 word aezeed
6767
--short_channel_id string the short channel ID in the format <blockheight>x<transactionindex>x<outputindex>

doc/chantools_migratedb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ needs to read the database content.
1111

1212
CAUTION: Running this command will make it impossible to use the channel DB
1313
with an older version of lnd. Downgrading is not possible and you'll need to
14-
run lnd v0.18.3-beta or later after using this command!'
14+
run lnd v0.18.4-beta or later after using this command!'
1515

1616
```
1717
chantools migratedb [flags]

doc/chantools_removechannel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ channel was never confirmed on chain!
1111

1212
CAUTION: Running this command will make it impossible to use the channel DB
1313
with an older version of lnd. Downgrading is not possible and you'll need to
14-
run lnd v0.18.3-beta or later after using this command!
14+
run lnd v0.18.4-beta or later after using this command!
1515

1616
```
1717
chantools removechannel [flags]

dump/dump.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import (
1313
"github.com/btcsuite/btcd/txscript"
1414
"github.com/lightningnetwork/lnd/chanbackup"
1515
"github.com/lightningnetwork/lnd/channeldb"
16+
"github.com/lightningnetwork/lnd/fn"
1617
"github.com/lightningnetwork/lnd/input"
1718
"github.com/lightningnetwork/lnd/keychain"
1819
"github.com/lightningnetwork/lnd/lntypes"
@@ -261,6 +262,7 @@ func CollectDebugInfo(channel *channeldb.OpenChannel,
261262
toLocalScript, err := lnwallet.CommitScriptToSelf(
262263
chanType, initiator, keyRing.ToLocalKey, keyRing.RevocationKey,
263264
uint32(ourChanCfg.CsvDelay), leaseExpiry,
265+
fn.None[txscript.TapLeaf](),
264266
)
265267
if err != nil {
266268
return nil, err
@@ -269,6 +271,7 @@ func CollectDebugInfo(channel *channeldb.OpenChannel,
269271
// Next, we create the script paying to the remote.
270272
toRemoteScript, _, err := lnwallet.CommitScriptToRemote(
271273
chanType, initiator, keyRing.ToRemoteKey, leaseExpiry,
274+
fn.None[txscript.TapLeaf](),
272275
)
273276
if err != nil {
274277
return nil, err

0 commit comments

Comments
 (0)