core-lightning/tools/gen
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
..
header_template tools/generate_wire.py: make functions allocate the TLV. 2022-03-25 13:55:44 +10:30
impl_template common/tlvstream: put TLV checking back in the generic function. 2022-03-25 13:55:44 +10:30
print_header_template tools/generate-wire.py: make (and expose) individual TLV print functions. 2022-03-25 13:55:44 +10:30
print_impl_template tools/generate_wire.py: make functions allocate the TLV. 2022-03-25 13:55:44 +10:30