Files
lightning/common
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
..
2018-11-02 05:58:01 +00:00
2018-11-20 21:02:31 +01:00
2018-01-29 04:46:54 +00:00
2018-02-08 22:49:34 +01:00
2018-12-20 03:22:32 +00:00
2018-12-11 13:22:43 +01:00
2018-12-11 13:22:43 +01:00
2018-08-05 02:03:58 +00:00
2018-06-18 12:31:09 +02:00
2018-03-06 19:26:21 +01:00
2018-12-05 23:15:59 +00:00
2018-12-05 23:15:59 +00:00
2018-06-18 12:31:09 +02:00