|
NAMElightning-ping - Command to check if a node is up.SYNOPSISping id [len] [pongbytes]DESCRIPTIONThe ping command checks if the node with id is ready to talk. It currently only works for peers we have a channel with.It accepts the following parameters:
EXAMPLE JSON REQUEST{ "id": 82, "method": "ping", "params": { "len": 128, "pongbytes": 128 } } RETURN VALUEOn success, an object is returned, containing:
On failure, one of the following error codes may be returned:
EXAMPLE JSON RESPONSE{ "totlen": 132 } AUTHORVincenzo Palazzo <vincenzo.palazzo@protonmail.com> wrote the initial version of this man page, but many others did the hard work of actually implementing this rpc command.SEE ALSOlightning-connect(7)RESOURCESMain web site: https://github.com/ElementsProject/lightning Visit the GSP FreeBSD Man Page Interface. |