core-lightning/channeld
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
..
test remove libbase58, use base58 from libwally (#2594) 2019-04-30 23:07:31 +02:00
channel_wire.csv Channeld: init channel with remote announcement info when restart 2019-05-29 11:46:33 +02:00
channeld_htlc.h channeld: use amount_msat for struct htlc amount. 2019-02-21 08:01:37 +00:00
channeld.c channeld: don't queue gossip msgs while waiting for foreign_channel_update. 2019-06-04 01:29:39 +00:00
commit_tx.c wally: Remove tx->input and tx->output, wally all the way! 2019-04-08 00:00:00 +00:00
commit_tx.h commit_tx & htlc_tx: use amount_sat/amount_msat. 2019-02-21 08:01:37 +00:00
full_channel_error.h channeld: map htlc add/remove errors to names. 2018-02-19 02:56:51 +00:00
full_channel.c fix:Add infor about how many blocks needed until funding is confirmed 2019-04-07 23:45:35 +00:00
full_channel.h fix:Add infor about how many blocks needed until funding is confirmed 2019-04-07 23:45:35 +00:00
Makefile gossipd: send per-peer daemons offsets into gossip store. 2019-05-13 05:16:18 +00:00