rgb-cln/wallet/test
Rusty Russell 7f75043ab2 lightningd: tighten interal json_stream API.
Move it closer to ccan/json_out, in preparation for using that as a
replacement.

In particular:

1. Add a 'quote' field in json_add_member.
2. json_add_member now always escapes if 'quote' is true.
3. json_member_direct is exposed to allow avoiding of escaping.
4. json_add_hex can use this, so no longer needs to be in json_stream.c.
5. We don't make JSON manually, but always use helpers.
6. We now flush the stream (wake reader) only when we close it, or mark
   command as pending.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-06-12 02:00:15 +00:00
..
.gitignore wallet: move tests into test/ dir like other unit tests. 2017-12-13 22:46:10 +01:00
Makefile Use node_id everywhere for nodes. 2019-04-09 12:37:16 -07:00
run-db.c ccan: import ccan/json_out and ccan/json_escape. 2019-06-12 02:00:15 +00:00
run-wallet.c lightningd: tighten interal json_stream API. 2019-06-12 02:00:15 +00:00
test_utils.c chore: increase min-capacity-sat to 10k 2019-04-16 15:01:28 -07:00
test_utils.h fix: a pr2444 introduced valgrind complaint 2019-03-14 16:51:18 +01:00