core-lightning/wire/test
Rusty Russell 83ee68ab06 common/tlvstream: put TLV checking back in the generic function.
Callers were supposed to call "tlv_fields_valid" after fromwire_tlv,
but few did.  Make this the default, and call the underlying function
directly where we want to be more flexible (one place).

This loses the ability to allow misordered fields, or to pass through
*any* even fields.  We restore that for special cases in the next
patch.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2022-03-25 13:55:44 +10:30
..
.gitignore wire: generate marshal/unmarshal from spec. 2016-12-01 13:50:02 +10:30
Makefile peer_exchange: set, read and log remote_addr 2022-02-22 05:45:47 +10:30
run-peer-wire.c tools/generate_wire.py: make functions allocate the TLV. 2022-03-25 13:55:44 +10:30
run-tlvstream.c common/tlvstream: put TLV checking back in the generic function. 2022-03-25 13:55:44 +10:30