lightning-staticbackup -- Command for deriving getting SCB of all the existing channels
SYNOPSIS
staticbackup
DESCRIPTION
The staticbackup RPC command returns an object with SCB of all the channels in an array.
RETURN VALUE
On success, an object is returned, containing:
- scb (array of hexs):
- (hex, optional): SCB of a channel in TLV format.
AUTHOR
Aditya <[email protected]> is mainly responsible.
SEE ALSO
lightning-getsharedsecret(7)
RESOURCES
Main web site: https://github.com/ElementsProject/lightning
EXAMPLES
Example 1:
Request:
lightning-cli staticbackup
{
"id": "example:staticbackup#1",
"method": "staticbackup",
"params": {}
}
Response:
{
"scb": [
"0000000000000001channelid0340000340000340000340000340000340000340000340000340000nodeid03030303030303030303030303030303030303030303030303030303030300017f000001034003400340034003400340034003400340034003400340034003400340034003400340034003400340034003400003401000",
"0000000000000002channelid0340200340200340200340200340200340200340200340200340200nodeid03030303030303030303030303030303030303030303030303030303030300017f000001034203420342034203420342034203420342034203420342034203420342034203420342034203420342034203420003401000",
"0000000000000003channelid0410000410000410000410000410000410000410000410000410000nodeid01010101010101010101010101010101010101010101010101010101010100017f000001041004100410041004100410041004100410041004100410041004100410041004100410041004100410041004100003401000",
"0000000000000004channelid0120000120000120000120000120000120000120000120000120000nodeid01010101010101010101010101010101010101010101010101010101010100017f000001012001200120012001200120012001200120012001200120012001200120012001200120012001200120012001200003401000",
"0000000000000005channelid1520015200152001520015200152001520015200152001520015200nodeid01010101010101010101010101010101010101010101010101010101010100017f000001015201520152015201520152015201520152015201520152015201520152015201520152015201520152015201520003401000",
"0000000000000006channelid1240012400124001240012400124001240012400124001240012400nodeid02020202020202020202020202020202020202020202020202020202020200017f000001012401240124012401240124012401240124012401240124012401240124012401240124012401240124012401240003401000"
]
}