mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-04 04:54:47 +01:00
6e636a835f
1. listpeers has a deprecated `"closer": null`, which we need to handle in the schema, while trying not to damage our documentation too much. 2. Don't print a condition if there are no fields to print. 3. Allow a special "untyped" marker for multifundchannel which returns arbitrary JSON in a field. 4. Allow a single field return (for 'stop'). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
43 lines
1.1 KiB
Markdown
43 lines
1.1 KiB
Markdown
lightning-check -- Command for verifying parameters
|
||
==============================
|
||
|
||
SYNOPSIS
|
||
--------
|
||
|
||
**check** *command\_to\_check* \[*parameters*\]
|
||
|
||
DESCRIPTION
|
||
-----------
|
||
|
||
The **check** RPC command verifies another command’s parameters without
|
||
running it.
|
||
|
||
The *command\_to\_check* is the name of the relevant command.
|
||
|
||
*parameters* is the command’s parameters.
|
||
|
||
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
|
||
------------
|
||
|
||
[comment]: # (GENERATE-FROM-SCHEMA-START)
|
||
On success, an object is returned, containing:
|
||
- **command_to_check** (string): the *command_to_check* argument
|
||
[comment]: # (GENERATE-FROM-SCHEMA-END)
|
||
|
||
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>
|
||
|
||
[comment]: # ( SHA256STAMP:3dd679aceebf5dca6daabc1b28a0f95c413daa9a689bf55270b38b57f0b17957)
|