rgb-cln/wire
Rusty Russell 9de3827199 channeld: don't use ccan/io, go sync.
We revert to a simple select() loop.  This makes things simpler, and fixes
the problem where we want to exit but we've partially read a peer packet.

We still queue up outgoing peer packets for non-blocking send: if we
went full sync there, we'd risk deadlock if both sides wrote a huge
number of packets and neither was reading.

This also greatly simplifies the next patches, where we want to make
our first get/response from gossipd.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-12-02 12:54:12 +01:00
..
test test: fix dependencies. 2017-11-22 19:40:46 +01:00
Makefile generate-wire.py: add --bolt arg, use size->type hacks only when that's specified. 2017-09-29 14:40:34 +02:00
fromwire.c secp256k1_ecdsa_recoverable_signature: add support. 2017-11-01 01:09:23 +00:00
gen_onion_wire_csv lightningd: update to add `wire_expiry_too_far`. 2017-11-01 09:46:05 +01:00
gen_peer_wire_csv channeld: don't use ccan/io, go sync. 2017-12-02 12:54:12 +01:00
onion_defs.h wire: split onion messages from peer wire messages. 2017-01-06 13:40:35 +10:30
peer_wire.c Move short_channel_id primitive into bitcoin 2017-08-10 12:34:58 +09:30
peer_wire.h BOLT: Update text to latest commit. 2017-08-22 14:56:02 +02:00
towire.c secp256k1_ecdsa_recoverable_signature: add support. 2017-11-01 01:09:23 +00:00
wire.h secp256k1_ecdsa_recoverable_signature: add support. 2017-11-01 01:09:23 +00:00
wire_io.c wire: restore BE endian to wire headers for internal messages. 2017-09-29 14:40:34 +02:00
wire_io.h wire: Fix include order in wire_io.h 2017-09-29 14:40:34 +02:00
wire_sync.c wire: restore BE endian to wire headers for internal messages. 2017-09-29 14:40:34 +02:00
wire_sync.h wire_sync_write: support take() 2017-06-27 10:25:53 +09:30