Skip to content

Commit 3d4c5c3

Browse files
committed
multi: bump lnd channeldb version to v0.15.1-beta
1 parent 0ae71f3 commit 3d4c5c3

14 files changed

+39
-23
lines changed

cmd/chantools/deletepayments.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ If only the failed payments should be deleted (and not the successful ones), the
2525
2626
CAUTION: Running this command will make it impossible to use the channel DB
2727
with an older version of lnd. Downgrading is not possible and you'll need to
28-
run lnd v0.14.1-beta or later after using this command!'`,
28+
run lnd v0.15.1-beta or later after using this command!'`,
2929
Example: `chantools deletepayments --failedonly \
3030
--channeldb ~/.lnd/data/graph/mainnet/channel.db`,
3131
RunE: cc.Execute,

cmd/chantools/dropchannelgraph.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ without removing any other data.
4646
4747
CAUTION: Running this command will make it impossible to use the channel DB
4848
with an older version of lnd. Downgrading is not possible and you'll need to
49-
run lnd v0.14.1-beta or later after using this command!'`,
49+
run lnd v0.15.1-beta or later after using this command!'`,
5050
Example: `chantools dropchannelgraph \
5151
--channeldb ~/.lnd/data/graph/mainnet/channel.db \
5252
--node_identity_key 03......
@@ -106,7 +106,7 @@ func (c *dropChannelGraphCommand) Execute(_ *cobra.Command, _ []string) error {
106106
if c.SingleChannel != 0 {
107107
log.Infof("Removing single channel %d", c.SingleChannel)
108108
return db.ChannelGraph().DeleteChannelEdges(
109-
true, c.SingleChannel,
109+
true, false, c.SingleChannel,
110110
)
111111
}
112112

cmd/chantools/migratedb.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ needs to read the database content.
2525
2626
CAUTION: Running this command will make it impossible to use the channel DB
2727
with an older version of lnd. Downgrading is not possible and you'll need to
28-
run lnd v0.14.1-beta or later after using this command!'`,
28+
run lnd v0.15.1-beta or later after using this command!'`,
2929
Example: `chantools migratedb \
3030
--channeldb ~/.lnd/data/graph/mainnet/channel.db`,
3131
RunE: cc.Execute,

cmd/chantools/removechannel.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ channel was never confirmed on chain!
3131
3232
CAUTION: Running this command will make it impossible to use the channel DB
3333
with an older version of lnd. Downgrading is not possible and you'll need to
34-
run lnd v0.14.1-beta or later after using this command!`,
34+
run lnd v0.15.1-beta or later after using this command!`,
3535
Example: `chantools removechannel \
3636
--channeldb ~/.lnd/data/graph/mainnet/channel.db \
3737
--channel 3149764effbe82718b280de425277e5e7b245a4573aa4a0203ac12cee1c37816:0`,

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.14.1-beta or later after using this command!'
13+
run lnd v0.15.1-beta or later after using this command!'
1414

1515
```
1616
chantools deletepayments [flags]

doc/chantools_dropchannelgraph.md

Lines changed: 9 additions & 5 deletions
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.14.1-beta or later after using this command!'
15+
run lnd v0.15.1-beta or later after using this command!'
1616

1717
```
1818
chantools dropchannelgraph [flags]
@@ -22,19 +22,23 @@ chantools dropchannelgraph [flags]
2222

2323
```
2424
chantools dropchannelgraph \
25-
--channeldb ~/.lnd/data/graph/mainnet/channel.db
25+
--channeldb ~/.lnd/data/graph/mainnet/channel.db \
26+
--node_identity_key 03......
2627
2728
chantools dropchannelgraph \
2829
--channeldb ~/.lnd/data/graph/mainnet/channel.db \
2930
--single_channel 726607861215512345
31+
--node_identity_key 03......
3032
```
3133

3234
### Options
3335

3436
```
35-
--channeldb string lnd channel.db file to dump channels from
36-
-h, --help help for dropchannelgraph
37-
--single_channel uint the single channel identified by its short channel ID (CID) to remove from the graph
37+
--channeldb string lnd channel.db file to dump channels from
38+
--fix_only fix an already empty graph by re-adding the own node's channels
39+
-h, --help help for dropchannelgraph
40+
--node_identity_key string your node's identity public key
41+
--single_channel uint the single channel identified by its short channel ID (CID) to remove from the graph
3842
```
3943

4044
### Options inherited from parent commands

doc/chantools_dumpchannels.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ chantools dumpchannels \
2424
--channeldb string lnd channel.db file to dump channels from
2525
--closed dump closed channels instead of open
2626
-h, --help help for dumpchannels
27+
--pending dump pending channels instead of open
28+
--waiting_close dump waiting close channels instead of open
2729
```
2830

2931
### Options inherited from parent commands

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-2021-12-13-10-34-21.backup")
64+
--multi_file string the fake channel backup file to create (default "results/fake-2022-09-11-19-20-32.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.14.1-beta or later after using this command!'
14+
run lnd v0.15.1-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.14.1-beta or later after using this command!
14+
run lnd v0.15.1-beta or later after using this command!
1515

1616
```
1717
chantools removechannel [flags]

0 commit comments

Comments
 (0)