Skip to content

Commit 0ebb732

Browse files
committed
rescueclosed: clarify instructions
Fixes #102.
1 parent 8d28e1b commit 0ebb732

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

cmd/chantools/rescueclosed.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ funds from those channels. But this method can help if the other node doesn't
6060
know about the channels any more but we still have the channel.db from the
6161
moment they force-closed.
6262
63+
NOTE: Unless your channel was opened before 2019, you very likely don't need to
64+
use this command as things were simplified. Use 'chantools sweepremoteclosed'
65+
instead if the remote party has already closed the channel.
66+
6367
The alternative use case for this command is if you got the commit point by
6468
running the fund-recovery branch of my guggero/lnd fork (see
6569
https://github.com/guggero/lnd/releases for a binary release) in combination
@@ -88,7 +92,8 @@ chantools rescueclosed --fromsummary results/summary-xxxxxx.json \
8892
)
8993
cc.cmd.Flags().StringVar(
9094
&cc.Addr, "force_close_addr", "", "the address the channel "+
91-
"was force closed to",
95+
"was force closed to, look up in block explorer by "+
96+
"following funding txid",
9297
)
9398
cc.cmd.Flags().StringVar(
9499
&cc.CommitPoint, "commit_point", "", "the commit point that "+

doc/chantools_rescueclosed.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ funds from those channels. But this method can help if the other node doesn't
1212
know about the channels any more but we still have the channel.db from the
1313
moment they force-closed.
1414

15+
NOTE: Unless your channel was opened before 2019, you very likely don't need to
16+
use this command as things were simplified. Use 'chantools sweepremoteclosed'
17+
instead if the remote party has already closed the channel.
18+
1519
The alternative use case for this command is if you got the commit point by
1620
running the fund-recovery branch of my guggero/lnd fork (see
1721
https://github.com/guggero/lnd/releases for a binary release) in combination
@@ -48,7 +52,7 @@ chantools rescueclosed --fromsummary results/summary-xxxxxx.json \
4852
--bip39 read a classic BIP39 seed and passphrase from the terminal instead of asking for lnd seed format or providing the --rootkey flag
4953
--channeldb string lnd channel.db file to use for rescuing force-closed channels
5054
--commit_point string the commit point that was obtained from the logs after running the fund-recovery branch of guggero/lnd
51-
--force_close_addr string the address the channel was force closed to
55+
--force_close_addr string the address the channel was force closed to, look up in block explorer by following funding txid
5256
--fromchanneldb string channel input is in the format of an lnd channel.db file
5357
--fromsummary string channel input is in the format of chantool's channel summary; specify '-' to read from stdin
5458
-h, --help help for rescueclosed

0 commit comments

Comments
 (0)