This simplifies memory management, but means we have to keep the original pointer. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Format is "le16 len; u8 message[len]" same as wire format specified in BOLTs, even though the endian conversion is overkill for local messages. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>