rgb-cln/gossipd
Rusty Russell af7e641445 gossipd: don't "unmark" dying channels' updates if we receive them.
This looked like a test flake, but was real:

```
        l1.daemon.wait_for_log("closing soon due to the funding outpoint being spent")
    
        # We won't gossip the dead channel any more (but we still propagate node_announcement).  But connectd is not explicitly synced, so wait for "a bit".
        time.sleep(1)
>       assert len(get_gossip(l1)) == 2
E       assert 4 == 2
```

We can see that two channel_updates come in *after* we mark it dying:

```
gossipd: channel 103x1x0 closing soon due to the funding outpoint being spent
gossipd: REPLY WIRE_GOSSIPD_NEW_BLOCKHEIGHT_REPLY with 0 fds
022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-gossipd: Received channel_update for channel 103x1x0/0 now DISABLED
022d223620a359a47ff7f7ac447c85c46c923da53389221a0054c11c1e3ca31d59-gossipd: Received channel_update for channel 103x1x0/1 now DISABLED
```

We should keep marking channel_updates the same way.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2023-07-25 10:11:05 +09:30
..
test gossipd: don't "unmark" dying channels' updates if we receive them. 2023-07-25 10:11:05 +09:30
Makefile build: don't generate experimental variants of wire files. 2023-05-23 09:34:08 +09:30
broadcast.h cleanup: remove unneeded includes in header files. 2021-09-17 09:43:22 +09:30
gossip_generation.c gossipd: don't use peer softrefs for gossip credit. 2023-07-09 16:49:48 +09:30
gossip_generation.h channeld: send channel updates and announcements via lightningd. 2022-02-08 11:15:52 +10:30
gossip_store.c gossipd: don't "unmark" dying channels' updates if we receive them. 2023-07-25 10:11:05 +09:30
gossip_store.h gossipd: don't "unmark" dying channels' updates if we receive them. 2023-07-25 10:11:05 +09:30
gossip_store_wire.csv gossipd: don't close non-local channels immediately, add 12 block delay. 2022-09-24 15:22:27 +09:30
gossipd.c gossipd: aggressively advertize *both* sides of channel_update. 2023-07-21 07:13:11 +09:30
gossipd.h gossipd: don't use peer softrefs for gossip credit. 2023-07-09 16:49:48 +09:30
gossipd_peerd_wire.csv channeld: send channel updates and announcements via lightningd. 2022-02-08 11:15:52 +10:30
gossipd_wire.csv opts: announce-addr-discovered on/off/auto switch 2023-01-25 14:37:56 +01:00
queries.c gossipd: don't use peer softrefs for gossip credit. 2023-07-09 16:49:48 +09:30
queries.h Remove general shadowed variables. 2022-08-31 12:18:28 +03:00
routing.c gossipd: don't "unmark" dying channels' updates if we receive them. 2023-07-25 10:11:05 +09:30
routing.h gossipd: don't use peer softrefs for gossip credit. 2023-07-09 16:49:48 +09:30
seeker.c gossipd: don't use softref in the seeker. 2023-07-09 16:49:48 +09:30
seeker.h gossipd: don't use softref in the seeker. 2023-07-09 16:49:48 +09:30