core-lightning/doc/lightning-recoverchannel.7.md
Tony Aldon 8f6a02c182 doc: fix display of lists and code blocks in manpages.
The conversion from markdown to manpages does not display lists and
code blocks correctly if they are not preceded by an empty line.

Changelog-None
2023-10-14 17:55:51 +02:00

1.2 KiB

lightning-recoverchannel -- Command for recovering channels bundeled in an array in the form of Static Backup

SYNOPSIS

recoverchannel scb

DESCRIPTION

The recoverchannel RPC command tries to force the peer (with whom you already had a channel) to close the channel and sweeps on-chain fund. This method is not spontaneous and depends on the peer, so use it in case of severe data loss.

The scb parameter is an array containing minimum required info to reconnect and sweep funds. You can get the scb for already stored channels by using the RPC command 'staticbackup'

RETURN VALUE

On success, an object is returned, containing:

  • stubs (array of hexs):
    • Each item is the channel ID of the channel successfully inserted

AUTHOR

Aditya <aditya.sharma20111@gmail.com> is mainly responsible.

SEE ALSO

lightning-getsharedsecret(7)

RESOURCES

Main web site: https://github.com/ElementsProject/lightning