|  | 
| 15 | 15 |   + [genimportscript](#genimportscript) | 
| 16 | 16 |   + [forceclose](#forceclose) | 
| 17 | 17 |   + [rescueclosed](#rescueclosed) | 
| 18 |  | -  + [rescuefunding](#rescuefunding) | 
| 19 | 18 |   + [showrootkey](#showrootkey) | 
| 20 | 19 |   + [summary](#summary) | 
| 21 | 20 |   + [sweeptimelock](#sweeptimelock) | 
| @@ -70,7 +69,6 @@ Available commands: | 
| 70 | 69 |   forceclose       Force-close the last state that is in the channel.db provided. | 
| 71 | 70 |   genimportscript  Generate a script containing the on-chain keys of an lnd wallet that can be imported into other software like bitcoind. | 
| 72 | 71 |   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. | 
| 74 | 72 |   showrootkey      Extract and show the BIP32 HD root key from the 24 word lnd aezeed. | 
| 75 | 73 |   summary          Compile a summary about the current state of channels. | 
| 76 | 74 |   sweeptimelock    Sweep the force-closed state after the time lock has expired. | 
| @@ -332,24 +330,6 @@ chantools --fromsummary results/summary-xxxx-yyyy.json \ | 
| 332 | 330 |   --rootkey xprvxxxxxxxxxx | 
| 333 | 331 | ``` | 
| 334 | 332 | 
 | 
| 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 |  | - | 
| 353 | 333 | ### showrootkey | 
| 354 | 334 | 
 | 
| 355 | 335 | This command converts the 24 word `lnd` aezeed phrase and password to the BIP32 | 
|  | 
0 commit comments