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:
|
2022-09-05 22:33:09 +01:00
|
|
|
|
2022-11-11 02:03:13 +00:00
|
|
|
- **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
|
|
|
|
2023-01-30 06:24:16 +00:00
|
|
|
[comment]: # ( SHA256STAMP:069205c0316e7096044ef71b3fa2525e389c907b45c73177469d06e69d03873c)
|