rgb-cln/gossipd
Rusty Russell 9c254c8387 gossipd: when we refresh channel, don't override pending updates.
We can have an update pending because it's too fast, but
refresh_local_channel is supposed to make sure we're up-to-date, so
force immediate application in that case.

Otherwise, we call update_local_channel at the bottom which frees the
pending update.  This can mean that we miss a change in fees, for example.

Changelog-Fixed: errors: Errors returning a `channel_update` no longer return an outdated one.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2021-10-21 20:05:54 +02:00
..
test gossipd: when we refresh channel, don't override pending updates. 2021-10-21 20:05:54 +02:00
Makefile gossipd: handle modern onion messages. 2021-10-04 11:58:31 +02:00
broadcast.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
gossip_generation.c gossipd: when we refresh channel, don't override pending updates. 2021-10-21 20:05:54 +02:00
gossip_generation.h gossipd: signal whether node_ann is updated, are we starting up? 2021-07-20 13:28:38 -04:00
gossip_store.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
gossip_store.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
gossip_store_wire.csv gossip_store: create end marker for EOF. 2021-05-22 17:53:04 +09:30
gossipd.c gossipd: remove ping/pong handling 2021-10-10 15:32:57 +02:00
gossipd.h gossipd: remove ping/pong handling 2021-10-10 15:32:57 +02:00
gossipd_peerd_wire.csv common/gossip_store: avoid fd pass for new store, use end marker. 2021-05-22 17:53:04 +09:30
gossipd_wire.csv gossipd: remove ping/pong handling 2021-10-10 15:32:57 +02:00
queries.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
queries.h gossipd: use modern 'sync_complete' field. 2021-02-25 13:23:16 +10:30
routing.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
routing.h gossipd: remove routing, listchannels and listnodes infrastructure. 2021-06-16 10:29:17 +09:30
seeker.c cleanup: remove unneeded includes in C files. 2021-09-17 09:43:22 +09:30
seeker.h gossipd: restore dev-suppress-gossip functionality. 2019-10-10 21:48:52 -05:00