2019-08-31 14:30:56 +02:00
|
|
|
lightning-check -- Command for verifying parameters
|
2019-08-10 01:54:18 +02:00
|
|
|
==============================
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
|
|
|
|
2022-01-26 18:18:49 +01:00
|
|
|
**check** *command\_to\_check* [*parameters*]
|
2019-08-10 01:54:18 +02:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
|
2021-10-24 11:44:56 +02:00
|
|
|
The **check** RPC command verifies another command's parameters without
|
2019-08-10 01:54:18 +02:00
|
|
|
running it.
|
|
|
|
|
|
|
|
The *command\_to\_check* is the name of the relevant command.
|
|
|
|
|
2021-10-24 11:44:56 +02:00
|
|
|
*parameters* is the command's parameters.
|
2019-08-10 01:54:18 +02: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 07:50:01 +02:00
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-START)
|
|
|
|
On success, an object is returned, containing:
|
2022-09-05 23:33:09 +02:00
|
|
|
|
2022-09-05 23:45:06 +02:00
|
|
|
- **command\_to\_check** (string): the *command_to_check* argument
|
2021-09-03 12:07:59 +02:00
|
|
|
|
2021-05-26 07:50:01 +02:00
|
|
|
[comment]: # (GENERATE-FROM-SCHEMA-END)
|
2019-08-10 01:54:18 +02: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 03:33:16 +02:00
|
|
|
|
2022-09-05 23:45:06 +02:00
|
|
|
[comment]: # ( SHA256STAMP:bd1993b3b95a6c1a9e21873632a829514eb4e9d00ad5084bb099798c8977de06)
|