Skip to content

Commit 88a3a82

Browse files
authored
Merge pull request #161 from starius/update-lnd-v0.18.3-beta
go.mod: update lnd to v0.18.3-beta
2 parents 7fa66e2 + 223cc02 commit 88a3a82

14 files changed

+70
-52
lines changed

cmd/chantools/fakechanbackup.go

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,13 +347,15 @@ func newSingle(fundingOutPoint wire.OutPoint, shortChanID lnwire.ShortChannelID,
347347

348348
func fakeChanCfg(nodePubkey *btcec.PublicKey) channeldb.ChannelConfig {
349349
return channeldb.ChannelConfig{
350-
ChannelConstraints: channeldb.ChannelConstraints{
351-
DustLimit: 500,
350+
ChannelStateBounds: channeldb.ChannelStateBounds{
352351
ChanReserve: 5000,
353352
MaxPendingAmount: 1,
354353
MinHTLC: 1,
355354
MaxAcceptedHtlcs: 200,
356-
CsvDelay: 144,
355+
},
356+
CommitmentParams: channeldb.CommitmentParams{
357+
DustLimit: 500,
358+
CsvDelay: 144,
357359
},
358360
MultiSigKey: keychain.KeyDescriptor{
359361
PubKey: nodePubkey,

cmd/chantools/root.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ const (
3636

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.
39-
lndVersion = "v0.18.0-beta"
39+
// Run "make docs" after changing this value.
40+
lndVersion = "v0.18.3-beta"
4041

4142
Commit = ""
4243
)

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.0-beta or later after using this command!'
13+
run lnd v0.18.3-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.0-beta or later after using this command!'
15+
run lnd v0.18.3-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.0-beta or later after using this command!'
15+
run lnd v0.18.3-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-06-18-10-55-31.backup")
64+
--multi_file string the fake channel backup file to create (default "results/fake-2024-09-20-09-53-53.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.0-beta or later after using this command!'
14+
run lnd v0.18.3-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.0-beta or later after using this command!
14+
run lnd v0.18.3-beta or later after using this command!
1515

1616
```
1717
chantools removechannel [flags]

doc/chantools_rescueclosed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ chantools rescueclosed --fromsummary results/summary-xxxxxx.json \
5858
-h, --help help for rescueclosed
5959
--listchannels string channel input is in the format of lncli's listchannels format; specify '-' to read from stdin
6060
--lnd_log string the lnd log file to read to get the commit_point values when rescuing multiple channels at the same time
61+
--num_keys uint32 the number of keys to derive for the brute force attack (default 5000)
6162
--pendingchannels string channel input is in the format of lncli's pendingchannels format; specify '-' to read from stdin
6263
--rootkey string BIP32 HD root key of the wallet to use for decrypting the backup; leave empty to prompt for lnd 24 word aezeed
6364
--walletdb string read the seed/master root key to use fro decrypting the backup from an lnd wallet.db file instead of asking for a seed or providing the --rootkey flag

doc/chantools_sweeptimelockmanual.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ chantools sweeptimelockmanual \
5656
--listchannels string channel input is in the format of lncli's listchannels format; specify '-' to read from stdin
5757
--maxcsvlimit uint16 maximum CSV limit to use (default 2016)
5858
--maxnumchanstotal uint16 maximum number of keys to try, set to maximum number of channels the local node potentially has or had (default 500)
59-
--maxnumchanupdates uint maximum number of channel updates to try, set to maximum number of times the channel was used (default 500)
59+
--maxnumchanupdates uint maximum number of channel updates to try, set to maximum number of times the channel was used (default 1000)
6060
--pendingchannels string channel input is in the format of lncli's pendingchannels format; specify '-' to read from stdin
6161
--publish publish sweep TX to the chain API instead of just printing the TX
6262
--remoterevbasepoint string remote node's revocation base point, can be found in a channel.backup file

0 commit comments

Comments
 (0)