mirror of
https://github.com/ElementsProject/lightning.git
synced 2025-01-17 19:03:42 +01:00
e076d56709
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> |
||
---|---|---|
.. | ||
test | ||
fromwire.c | ||
gen_peer_wire_csv | ||
Makefile | ||
towire.c | ||
wire.h |