core-lightning/openingd
Rusty Russell f1b4b14be5 channeld: don't queue gossip msgs while waiting for foreign_channel_update.
We ask gossipd for the channel_update for the outgoing channel; any other
messages it sends us get queued for later processing.

But this is overzealous: we can shunt those msgs to the peer while
we're waiting.  This fixes a nasty case where we have to handle
WIRE_GOSSIPD_NEW_STORE_FD messages by queuing the fd for later.

This then means that WIRE_GOSSIPD_NEW_STORE_FD can be handled
internally inside handle_gossip_msg(), since it's always dealt with
the same, simplifying all callers.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2019-06-04 01:29:39 +00:00
..
Makefile gossipd: send per-peer daemons offsets into gossip store. 2019-05-13 05:16:18 +00:00
opening_wire.csv openingd: check with lightningd when we receive an offer. 2019-05-20 20:31:07 -04:00
openingd.c channeld: don't queue gossip msgs while waiting for foreign_channel_update. 2019-06-04 01:29:39 +00:00