core-lightning/wallet/test
Rusty Russell e46ce0fc84 jsonrpc: declare up front whether a response is success or fail.
Such an API is required for when we stream it directly.  Almost all our
handlers fit this pattern already, or nearly do.

We remove new_json_result() in favor of explicit json_stream_success()
and json_stream_fail(), but still allowing command_fail() if you just
want a simple all-in-one fail wrapper.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2018-10-19 22:02:11 +00:00
..
.gitignore wallet: move tests into test/ dir like other unit tests. 2017-12-13 22:46:10 +01:00
Makefile db: save and restore last_sent_commit correctly. 2018-09-04 14:43:27 +02:00
run-db.c wallet: put explicit hook in for fatal error testing. 2018-08-10 12:44:28 +02:00
run-wallet.c jsonrpc: declare up front whether a response is success or fail. 2018-10-19 22:02:11 +00:00
test_utils.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00