core-lightning/wallet
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
..
test param: make command sinks (fail/success) return a special type. 2018-12-20 03:22:32 +00:00
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
db.c lightningd: add runtime checking for all system-provided libs. 2018-12-14 05:36:34 +00:00
db.h db: full location tags for callers, make it implicit. 2018-04-27 16:20:35 +02:00
invoices.c wallet: do wallet_invoice init during preparation. 2018-09-03 05:01:40 +00:00
invoices.h wallet: do wallet_invoice init during preparation. 2018-09-03 05:01:40 +00:00
Makefile wallet: fix Makefile to include correct dependencies. 2018-09-14 22:11:48 +02:00
txfilter.c common/utils.h: add tal_arr_expand helper. 2018-09-27 22:57:19 +02:00
txfilter.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00
wallet.c signature: wrap almost all signatures in struct bitcoin_signature. 2018-12-06 23:11:51 +01:00
wallet.h jsonrpc: Only show total fees collected in getinfo. 2018-10-19 21:58:27 +00:00
walletrpc.c Move json and param core functionality into common, for plugins. 2018-12-10 00:00:50 +00:00
walletrpc.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00