core-lightning/common/test
Rusty Russell 3ed03f9c8f common: make json_parse_input API retry friendly.
The jsmn parser is a beautiful piece of code.  In particular, you can parse
part of a string, then continue where you left off.

We don't take advantage of this, however, meaning for large JSON objects
we parse them multiple times before finally having enough to complete.

Expose the parser state and tokens through the API, so the caller can pass
them in repeatedly.  For the moment, every caller is allocates each time
(except the unit tests).

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2020-08-21 09:52:33 +09:30
..
Makefile setup: create a common setup which will handle the wally-context 2020-05-19 13:35:42 +09:30
onion-test-v0.json sphinx: Introduce a runtest command to the onion tool 2019-07-30 02:14:49 +00:00
run-amount.c psbt: add serialize to/from wire for psbts 2020-05-21 18:45:07 +09:30
run-bigsize.c amount: use initializers everywhere. 2020-08-06 09:36:47 +09:30
run-bolt11.c wire: move remaining bitcoin functions out to bitcoin/ files. 2020-05-18 14:51:12 +02:00
run-cryptomsg.c amount: use initializers everywhere. 2020-08-06 09:36:47 +09:30
run-derive_basepoints.c amount: use initializers everywhere. 2020-08-06 09:36:47 +09:30
run-features.c amount: use initializers everywhere. 2020-08-06 09:36:47 +09:30
run-funding_tx.c tx-psbt: pass in the witness script (if known) when adding an input 2020-06-11 13:13:13 +02:00
run-gossip_rcvd_filter.c amount: use initializers everywhere. 2020-08-06 09:36:47 +09:30
run-ip_port_parsing.c amount: use initializers everywhere. 2020-08-06 09:36:47 +09:30
run-json_remove.c common: add simple json parse wrapper for the complete cases. 2020-08-21 09:52:33 +09:30
run-json.c common: make json_parse_input API retry friendly. 2020-08-21 09:52:33 +09:30
run-key_derive.c amount: use initializers everywhere. 2020-08-06 09:36:47 +09:30
run-lock.c amount: use initializers everywhere. 2020-08-06 09:36:47 +09:30
run-param.c common/json_tok: expose param_txid. 2020-07-08 21:07:20 +02:00
run-psbt_diff.c bitcoin: make psbt_append_input more powerful. 2020-08-20 21:14:12 +09:30
run-softref.c amount: use initializers everywhere. 2020-08-06 09:36:47 +09:30
run-sphinx.c amount: use initializers everywhere. 2020-08-06 09:36:47 +09:30