core-lightning/wallet
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
..
test lightningd: tighten interal json_stream API. 2019-06-12 02:00:15 +00:00
.gitignore wallet: Create and manage a sqlite3 database for the wallet 2017-06-06 09:16:10 +09:30
db.c ccan: import ccan/json_out and ccan/json_escape. 2019-06-12 02:00:15 +00:00
db.h ccan: import ccan/json_out and ccan/json_escape. 2019-06-12 02:00:15 +00:00
invoices.c ccan: import ccan/json_out and ccan/json_escape. 2019-06-12 02:00:15 +00:00
invoices.h ccan: import ccan/json_out and ccan/json_escape. 2019-06-12 02:00:15 +00:00
Makefile wallet: fix Makefile to include correct dependencies. 2018-09-14 22:11:48 +02:00
txfilter.c txfilter: Migrate the list of owned scriptPubKeys into a hashset 2019-06-07 23:29:32 +00:00
txfilter.h pubkey: rename PUBKEY_DER_LEN to PUBKEY_CMPR_LEN. 2019-04-09 12:37:16 -07:00
wallet.c ccan: import ccan/json_out and ccan/json_escape. 2019-06-12 02:00:15 +00:00
wallet.h ccan: import ccan/json_out and ccan/json_escape. 2019-06-12 02:00:15 +00:00
walletrpc.c lightningd: have json_stream_success start the "result" object. 2019-06-12 02:00:15 +00:00
walletrpc.h Use expected LIGHTNING_DIR_FILE_H define 2018-03-25 23:54:21 +00:00