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
..
2018-12-05 01:22:55 +01:00
2017-10-20 18:31:32 +02:00
2018-10-29 03:20:08 +00:00
2018-09-19 13:21:21 +02:00
2018-10-19 22:02:11 +00:00
2018-09-03 05:01:40 +00:00
2018-11-22 05:15:42 +00:00
2018-08-10 12:46:45 +02:00
2018-08-23 14:46:22 +02:00
2018-09-28 15:03:42 +02:00
2018-09-28 15:03:42 +02:00
2018-11-01 23:31:54 +01:00
2018-04-26 05:47:57 +00:00
2018-11-22 05:15:42 +00:00
2018-08-09 19:44:27 +02:00
2018-11-22 05:15:42 +00:00
2018-07-25 02:13:52 +00:00
2018-10-19 22:02:11 +00:00
2018-10-19 22:02:11 +00:00
2018-09-20 09:49:39 +02:00
2018-09-20 09:49:39 +02:00
2018-10-23 16:55:35 +02:00
2018-10-09 23:17:54 +00:00
2018-10-19 22:02:11 +00:00
2018-01-16 13:03:54 +01:00
2018-10-19 22:02:11 +00:00
2018-10-19 22:02:11 +00:00
2018-11-20 16:51:19 +01:00
2018-11-20 16:51:19 +01:00
2018-11-20 16:51:19 +01:00
2018-11-20 16:51:19 +01:00
2018-12-02 22:55:47 +00:00
2018-12-06 02:06:03 +00:00
2018-12-06 02:06:03 +00:00
2018-12-05 01:22:55 +01:00
2018-12-02 22:55:47 +00:00
2018-07-30 11:31:17 +02:00
2018-02-07 00:46:49 +00:00
2018-10-19 22:02:11 +00:00
2018-10-19 22:02:11 +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-11-22 05:15:42 +00:00
2018-04-25 14:33:38 +02:00
2018-11-22 05:15:42 +00:00
2018-11-22 05:15:42 +00:00
2018-12-05 01:22:55 +01:00
2018-11-13 00:44:50 +01:00
2018-12-06 02:06:03 +00:00
2018-09-03 00:40:27 +00:00
2018-10-19 22:02:11 +00:00
2018-10-19 22:02:11 +00:00
2018-11-13 06:17:50 +01:00
2018-02-16 13:08:29 +01:00
2018-11-22 05:15:42 +00:00
2018-11-22 05:15:42 +00:00
2018-10-28 23:51:05 +00:00
2018-10-23 16:55:35 +02:00
2018-10-19 22:02:11 +00:00
2018-09-14 22:11:23 +02:00
2018-12-05 23:15:59 +00:00
2018-12-05 01:22:55 +01:00
2018-10-29 04:06:16 +00:00
2018-10-29 04:06:16 +00:00
2018-08-21 00:48:02 +02:00
2018-08-21 00:48:02 +02:00