Christian Decker
f35e29607d
wire: Fix include order in wire_io.h
...
Signed-off-by: Christian Decker <decker.christian@gmail.com>
2017-09-29 14:40:34 +02:00
Rusty Russell
29b83aed2a
wire: restore BE endian to wire headers for internal messages.
...
We don't anticipate daemons across machines, but you never know.
Suggested-by: Christian Decker
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-09-29 14:40:34 +02:00
Rusty Russell
3d316518fd
wire: use 26-bit lengths for inter-daemon messaging.
...
Fixes : #289
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-09-29 14:40:34 +02:00
Rusty Russell
df7b68eea9
wire/wire_io: support take() arg to io_write_wire().
...
This simplifies memory management, but means we have to keep the
original pointer.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-03-10 21:45:55 +10:30
Rusty Russell
a10ea23e0d
wire: add ccan/io helpers to send (unencrypted) messages between damones.
...
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>
2017-01-10 15:22:20 +10:30