rgb-cln/lightningd/test
Rusty Russell 93bf7c4839 param: make command sinks (fail/success) return a special type.
These routines free the 'struct command': a common coding error is not
to return immediately.

To catch this, we make them return a non-NULL 'struct command_result
*', and we're going to make the command handlers return the same (to
encourage 'return command_fail(...)'-style usage).

We also provide two sources for external use:
1. command_param_failed() when param() fails.
2. command_its_complicated() for some complex cases.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-12-20 03:22:32 +00:00
..
Makefile Move json and param core functionality into common, for plugins. 2018-12-10 00:00:50 +00:00
run-find_my_abspath.c Move json and param core functionality into common, for plugins. 2018-12-10 00:00:50 +00:00
run-invoice-select-inchan.c param: make command sinks (fail/success) return a special type. 2018-12-20 03:22:32 +00:00
run-jsonrpc.c Move json and param core functionality into common, for plugins. 2018-12-10 00:00:50 +00:00