2019-08-31 13:30:56 +01:00
|
|
|
lightning-check -- Command for verifying parameters
|
2019-08-10 00:54:18 +01:00
|
|
|
==============================
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
|
2022-01-26 17:18:49 +00:00
|
|
|
**check** *command\_to\_check* [*parameters*]
|
2019-08-10 00:54:18 +01:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
|
2021-10-24 10:44:56 +01:00
|
|
|
The **check** RPC command verifies another command's parameters without
|
2019-08-10 00:54:18 +01:00
|
|
|
running it.
|
|
|
|
|
|
|
|
The *command\_to\_check* is the name of the relevant command.
|
|
|
|
|
2021-10-24 10:44:56 +01:00
|
|
|
*parameters* is the command's parameters.
|
2019-08-10 00:54:18 +01:00
|
|
|
|
|
|
|
This does not guarantee successful execution of the command in all
|
|
|
|
cases. For example, a call to lightning-getroute(7) may still fail to
|
|
|
|
find a route even if checking the parameters succeeds.
|
|
|
|
|
|
|
|
RETURN VALUE
|
|
|
|
------------
|
|
|
|
|
2021-05-26 06:50:01 +01:00
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-START)
|
|
|
|
On success, an object is returned, containing:
|
|
|
|
- **command_to_check** (string): the *command_to_check* argument
|
2021-09-03 11:07:59 +01:00
|
|
|
|
2021-05-26 06:50:01 +01:00
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-END)
|
2019-08-10 00:54:18 +01:00
|
|
|
|
|
|
|
AUTHOR
|
|
|
|
------
|
|
|
|
|
|
|
|
Mark Beckwith <<wythe@intrig.com>> and Rusty Russell
|
|
|
|
<<rusty@rustcorp.com.au>> are mainly responsible.
|
|
|
|
|
|
|
|
RESOURCES
|
|
|
|
---------
|
|
|
|
|
|
|
|
Main web site: <https://github.com/ElementsProject/lightning>
|
2020-08-25 02:33:16 +01:00
|
|
|
|
2021-11-04 14:15:51 +00:00
|
|
|
[comment]: # ( SHA256STAMP:10d986d91af6315ee755d119cb1b77f306e2360105191116282f3faead350ce8)
|