core-lightning/common/test
Rusty Russell ec72d89975 bolt11: reorder invoice production to match test vectors.
After this, we can exactly reproduce the vectors (in DEVELOPER mode).

1. Move payment_metadata position to match test vector.
2. Create flag to suppress `c` field production.
3. Some vectors put secret before payment_hash, hack that in.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-04-02 09:40:18 +10:30
..
Makefile json: reverse parse a coin_mvt tag back into an enum 2022-03-05 15:12:12 +10: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: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-base64.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-bigsize.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-blindedpath_enctlv.c common: generalize extract_channel_id(). 2021-12-30 09:50:40 +10:30
run-blindedpath_onion.c tools/generate_wire.py: make functions allocate the TLV. 2022-03-25 13:55:44 +10:30
run-bolt11.c bolt11: reorder invoice production to match test vectors. 2022-04-02 09:40:18 +10:30
run-bolt12_decode.c tools/generate_wire.py: make functions allocate the TLV. 2022-03-25 13:55:44 +10:30
run-bolt12_merkle-json.c tools/generate_wire.py: make functions allocate the TLV. 2022-03-25 13:55:44 +10:30
run-bolt12_merkle.c tools/generate_wire.py: make functions allocate the TLV. 2022-03-25 13:55:44 +10:30
run-bolt12_period.c tools/generate_wire.py: make functions allocate the TLV. 2022-03-25 13:55:44 +10:30
run-cryptomsg.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-derive_basepoints.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-features.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-gossip_rcvd_filter.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-gossmap_guess_node_id.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-gossmap_local.c lightningd: Restore forwarding of legacy onions. 2022-03-31 19:38:05 +10:30
run-gossmap-fp16.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-ip_port_parsing.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-json_remove.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-json_scan.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-json.c common/tlvstream: put TLV checking back in the generic function. 2022-03-25 13:55:44 +10:30
run-key_derive.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-lease_rates.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-param.c common/tlvstream: put TLV checking back in the generic function. 2022-03-25 13:55:44 +10:30
run-psbt_diff.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-route_blinding_override_test.c tools/generate_wire.py: tlvs should start with tlv_ 2022-03-25 13:55:44 +10:30
run-route_blinding_test.c tools/generate_wire.py: tlvs should start with tlv_ 2022-03-25 13:55:44 +10:30
run-route-specific.c lightningd: Restore forwarding of legacy onions. 2022-03-31 19:38:05 +10:30
run-route.c lightningd: Restore forwarding of legacy onions. 2022-03-31 19:38:05 +10:30
run-softref.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30
run-sphinx-xor_cipher_stream.c lightningd: Restore forwarding of legacy onions. 2022-03-31 19:38:05 +10:30
run-sphinx.c common/tlvstream: put TLV checking back in the generic function. 2022-03-25 13:55:44 +10:30
run-wireaddr.c bitcoin: remove unused functions, or make static. 2021-12-06 10:05:39 +10:30