rgb-cln/tools/gen
Rusty Russell 3f8600e9c0 tools/generate-wire.py: handle implicit tlv length fields.
TLVs have an implicit `len` field, so allow expressions containing
that (eg. `len-1`), but assume it means "the remainder of the
message".

This means in most places, f.size() needs an fallback for the
implicit-length case.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-07-27 21:19:57 -05:00
..
header_template bolt-gen: fix broken 'exposed subtype' generation 2019-07-24 06:31:46 +00:00
impl_template tools/generate-wire.py: handle implicit tlv length fields. 2019-07-27 21:19:57 -05:00
print_header_template tools: fix tlv generation 2019-07-27 21:19:57 -05:00
print_impl_template tools/generate-wire.py: handle implicit tlv length fields. 2019-07-27 21:19:57 -05:00