mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 18:11:28 +01:00
8f6a02c182
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
1.2 KiB
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