cln/common/test
Rusty Russell 427ee36dfd common: implement tal_arr_append and tal_arr_appendn, and use them.
These are useful for the common pattern of "append these bytes to this tal array".

As a bonus, we do memcheck() on all these callers, for extra checking
under valgrind.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2026-05-11 13:51:52 +09:30
..
Makefile bolt12: generate payer_proof JSON test vectors. 2026-05-11 11:13:55 +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 bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-base64.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-bigsize.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-blindedpath_enctlv.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-blindedpath_onion.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-bolt11.c common/bolt12: use a const char * for fail reason. 2026-05-11 11:13:55 +09:30
run-bolt12-encode-test.c common/bolt12: use a const char * for fail reason. 2026-05-11 11:13:55 +09:30
run-bolt12-format-string-test.c BOLT12: don't allow zero-amount offers. 2026-04-30 20:09:31 +09:30
run-bolt12-offer-decode.c common/bolt12: use a const char * for fail reason. 2026-05-11 11:13:55 +09:30
run-bolt12_decode.c common/bolt12: use a const char * for fail reason. 2026-05-11 11:13:55 +09:30
run-bolt12_merkle-json.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-bolt12_merkle-partial.c common: add test for partial merkle tree support. 2026-05-11 11:13:55 +09:30
run-bolt12_merkle.c common: implement tal_arr_append and tal_arr_appendn, and use them. 2026-05-11 13:51:52 +09:30
run-bolt12_period.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-bolt12_proof.c common: routines to create and validate payer proofs. 2026-05-11 11:13:55 +09:30
run-bolt12_proof_vectors.c bolt12: generate payer_proof JSON test vectors. 2026-05-11 11:13:55 +09:30
run-channel_type.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-codex32.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-coin_mvt.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-cryptomsg.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-deprecation.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-derive_basepoints.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-features.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-gossmap-fp16.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-gossmap_canned.c gossmap: add callback for gossipd to see dying messages. 2026-02-16 17:23:33 +10:30
run-gossmap_local.c gossmap: add callback for gossipd to see dying messages. 2026-02-16 17:23:33 +10:30
run-htable.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-ip_port_parsing.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-json.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-json_filter.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-json_remove.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-json_scan.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-json_stream-filter.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-jsonrpc_io.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-key_derive.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-lease_rates.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-marginal_feerate.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-mkdatastorekey.c common: add simple unit test for mkdatastorekey. 2026-03-23 14:03:17 +10:00
run-onion-message-test.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-onion-test-vector.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-param.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-psbt_diff.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-route-infloop.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-route-specific.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-route.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-route_blinding_onion_test.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-route_blinding_test.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-shutdown_scriptpubkey.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-sphinx-xor_cipher_stream.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-sphinx.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-splice_script.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-tal_arr_randomize.c common: add amount_feerate helper. 2023-11-01 14:11:28 +10:30
run-tlv_span.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-tlv_unknown.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-trace.c misc: fix uninitialised errors for macOS 2026-02-23 19:08:24 +10:30
run-utils-tal_arr_append.c common: implement tal_arr_append and tal_arr_appendn, and use them. 2026-05-11 13:51:52 +09:30
run-version.c bitcoin: hoist script_with_len out of wallet/ into here. 2026-03-23 09:22:04 +10:30
run-wireaddr.c common: correctly refuse to accept wireaddr with port == 0. 2026-04-30 12:17:43 +09:30