rgb-cln/gossipd
Rusty Russell 3f84ca1052 gossipd: really fix peer handoff.
954a3990fa had two errors:
1) We created the handoff message *before* we sent the final packet, meaning
   that the cryptostate was out-of-sync.
2) We called io_wait() on the output side of a duplex connection: it has
   to be io_wait_out().

This time, stress testing for 2 hours revealed no more problems.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2017-10-26 13:03:51 +02:00
..
test gossipd: don't try to handle padding inside fromwire_ipaddr. 2017-10-24 16:12:22 +02:00
Makefile gossipd: rewrite to do the handshake internally. 2017-10-20 18:31:32 +02:00
broadcast.c Rename subdaemons, move them into top level. 2017-08-29 17:54:14 +02:00
broadcast.h Rename subdaemons, move them into top level. 2017-08-29 17:54:14 +02:00
gossip.c gossipd: really fix peer handoff. 2017-10-26 13:03:51 +02:00
gossip_wire.csv gossipd: rewrite to do the handshake internally. 2017-10-20 18:31:32 +02:00
handshake.c gossipd: include ccan/io version of handshake code, with tests. 2017-10-20 18:31:32 +02:00
handshake.h gossipd: include ccan/io version of handshake code, with tests. 2017-10-20 18:31:32 +02:00
routing.c gossipd: don't try to handle padding inside fromwire_ipaddr. 2017-10-24 16:12:22 +02:00
routing.h gossip: fix address descriptor handling. 2017-09-03 02:01:54 +02:00