Skip to content

Commit 15d88df

Browse files
committed
Remove unfinished rescuefunding command
1 parent 338c22f commit 15d88df

File tree

2 files changed

+6
-25
lines changed

2 files changed

+6
-25
lines changed

README.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
+ [genimportscript](#genimportscript)
1616
+ [forceclose](#forceclose)
1717
+ [rescueclosed](#rescueclosed)
18-
+ [rescuefunding](#rescuefunding)
1918
+ [showrootkey](#showrootkey)
2019
+ [summary](#summary)
2120
+ [sweeptimelock](#sweeptimelock)
@@ -70,7 +69,6 @@ Available commands:
7069
forceclose Force-close the last state that is in the channel.db provided.
7170
genimportscript Generate a script containing the on-chain keys of an lnd wallet that can be imported into other software like bitcoind.
7271
rescueclosed Try finding the private keys for funds that are in outputs of remotely force-closed channels.
73-
rescuefunding Rescue funds locked in a funding multisig output that never resulted in a proper channel.
7472
showrootkey Extract and show the BIP32 HD root key from the 24 word lnd aezeed.
7573
summary Compile a summary about the current state of channels.
7674
sweeptimelock Sweep the force-closed state after the time lock has expired.
@@ -332,24 +330,6 @@ chantools --fromsummary results/summary-xxxx-yyyy.json \
332330
--rootkey xprvxxxxxxxxxx
333331
```
334332

335-
### rescuefunding
336-
337-
```text
338-
Usage:
339-
chantools [OPTIONS] rescuefunding [rescuefunding-OPTIONS]
340-
341-
[rescuefunding command options]
342-
--rootkey= BIP32 HD root (m/) key to derive the key for our node from.
343-
--othernodepub= The extended public key (xpub) of the other node's multisig branch (m/1017'/<coin_type>'/0'/0).
344-
--fundingaddr= The bech32 script address of the funding output where the coins to be spent are locked in.
345-
--fundingoutpoint= The funding transaction outpoint (<txid>:<txindex>).
346-
--fundingamount= The exact amount in satoshis that is locked in the funding output.
347-
--sweepaddr= The address to sweep the rescued funds to.
348-
--satperbyte= The fee rate to use in satoshis/vByte.
349-
```
350-
351-
**This command is not fully implemented yet and only listed here as a placeholder.**
352-
353333
### showrootkey
354334

355335
This command converts the 24 word `lnd` aezeed phrase and password to the BIP32

cmd/chantools/main.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,12 @@ func runCommandParser() error {
128128
"compacting it in the process.", "",
129129
&compactDBCommand{},
130130
)
131-
_, _ = parser.AddCommand(
132-
"rescuefunding", "Rescue funds locked in a funding multisig "+
133-
"output that never resulted in a proper channel.", "",
134-
&rescueFundingCommand{},
135-
)
131+
// TODO: uncomment when command is fully implemented.
132+
//_, _ = parser.AddCommand(
133+
// "rescuefunding", "Rescue funds locked in a funding multisig "+
134+
// "output that never resulted in a proper channel.", "",
135+
// &rescueFundingCommand{},
136+
//)
136137

137138
_, err := parser.Parse()
138139
return err

0 commit comments

Comments
 (0)