rgb-cln/lightningd/test
Rusty Russell 68bb36b210 json-rpc: make commands return 'struct command_result *'.
Usually, this means they return 'command_param_failed()' if param()
fails, and changing 'command_success(); return;' to 'return
command_success()'.

Occasionally, it's more complex: there's a command_its_complicated()
for the case where we can't exactly determine what the status is,
but it should be considered a last resort.

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 json-rpc: make commands return 'struct command_result *'. 2018-12-20 03:22:32 +00:00
run-jsonrpc.c param: make json_tok_ handlers all return command_result, rename to param_ 2018-12-20 03:22:32 +00:00