Files
lightning/lightningd
Mark Beckwith 70707bf767 rpc: add check command
The check command allows us to check the parameters of a command
without running it. Example:

	lightning-cli check invoice 234 foo desc

We do this by removing the "command_to_check" parameter and then using the
remaining parameters as-is.

I chose the parameter name "command_to_check" instead of just "command" because
it must be unique to all other parameter names for all other commands. Why?
Because it may be ambiguous in the case of a json object, where the parameters are
not necessary ordered.  We don't know which one is the command to check and
which one is a parameter.

Signed-off-by: Mark Beckwith <wythe@intrig.com>
2018-12-06 02:06:03 +00:00
..
2017-10-20 18:31:32 +02:00
2018-10-23 16:55:35 +02:00
2018-12-06 02:06:03 +00:00
2018-12-06 02:06:03 +00:00
2018-11-22 05:15:42 +00:00
2018-11-22 05:15:42 +00:00
2018-11-22 05:15:42 +00:00
2018-12-06 02:06:03 +00:00
2018-02-16 13:08:29 +01:00
2018-11-22 05:15:42 +00:00
2018-10-29 04:06:16 +00:00
2018-10-29 04:06:16 +00:00