home | help
LIGHTNING-GETEMERGENCYRECOVERDATA(7)	    LIGHTNING-GETEMERGENCYRECOVERDATA(7)

NAME
     getemergencyrecoverdata -- Command to fetch data from the emergency.recover
     file

SYNOPSIS
     getemergencyrecoverdata

DESCRIPTION
     Command added in v24.11.

     The  getemergencyrecoverdata  RPC	command  is  used to fetch data from the
     emergency.recover file, which contains encrypted data.

RETURN VALUE
     On success, an object is returned, containing:

     *	filedata (hex): The raw, hex-encoded, emergency.recover file
     *	can_create_penalty (boolean): If false, you are using legacy  file  ver-
	sion,  which  can  not	create penalty transactions, kindly delete emer-
	gency.recover and restart the node! (added v26.06)
     *	backed_up_channel_ids (array of hashs) (added v26.06):
	*  (hash, optional): Channel IDs of  channels  backed  up  inside  emer-
	   gency.recover

AUTHOR
     Aditya aditya.sharma20111@gmail.com is mainly responsible.

SEE ALSO
     lightning-getsharedsecret(7)

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

EXAMPLES
     Example 1:

     Request:

     $ lightning-cli getemergencyrecoverdata

     {
       "id": "example:getemergencyrecoverdata#1",
       "method": "getemergencyrecoverdata",
       "params": {}
     }

     Response:

     "emergencyrecoverdata0101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101"

Core Lightning v26.06.1 		    LIGHTNING-GETEMERGENCYRECOVERDATA(7)

home | help