core-lightning/wire/test
Rusty Russell e076d56709 generate-wire.py: include type bytes in towire/fromwire routines.
This removes some redundancy in creating messages, but also allows
a lazy form or parsing without explicitly checking the type.

A helper fromwire_peektype() is added to look up the type and handle
the too-short-for-type problem.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-01-04 14:09:21 +10:30
..
.gitignore wire: generate marshal/unmarshal from spec. 2016-12-01 13:50:02 +10:30
Makefile wire: generate marshal/unmarshal from spec. 2016-12-01 13:50:02 +10:30
run-peer-wire.c generate-wire.py: include type bytes in towire/fromwire routines. 2017-01-04 14:09:21 +10:30