rgb-cln/gossipd
Rusty Russell a0ed61199a gossipd: make sure to mark node_announcement dying if we fast-path remove last channel.
Normally, channels are marked dying, the 12 blocks later, removed.
But for local channels, we can access any spliced channel already, so
we remove them immediately from our local gossip.  This left a hole in
our logic, if that channel was the last one keeping a
node_announcement alive.

Solution is to unify with the "moved node_announcement" path.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-02-12 11:43:33 +01:00
..
test gossipd: simplify gossip store API. 2024-02-04 09:24:44 +10:30
Makefile gossipd: remove routing.c and other unused functions. 2024-02-04 09:24:44 +10:30
gossip_store.c gossipd: clean up flags accessors. 2024-02-12 11:43:33 +01:00
gossip_store.h gossipd: clean up flags accessors. 2024-02-12 11:43:33 +01:00
gossip_store_wire.csv gossipd: strip private updates from gossip_store on startup. 2024-01-31 14:47:33 +10:30
gossipd.c gossipd: simplify gossip store API. 2024-02-04 09:24:44 +10:30
gossipd.h gossipd: remove routing.c and other unused functions. 2024-02-04 09:24:44 +10:30
gossipd_peerd_wire.csv channeld: send channel updates and announcements via lightningd. 2022-02-08 11:15:52 +10:30
gossipd_wire.csv gossipd: don't validate UTXOs on our own channels. 2024-02-04 09:24:44 +10:30
gossmap_manage.c gossipd: make sure to mark node_announcement dying if we fast-path remove last channel. 2024-02-12 11:43:33 +01:00
gossmap_manage.h gossipd: simplify gossip store API. 2024-02-04 09:24:44 +10:30
queries.c gossipd: make the query response code use gossmap_manage. 2024-02-04 09:24:44 +10:30
queries.h gossipd: remove routing.c and other unused functions. 2024-02-04 09:24:44 +10:30
seeker.c gossipd: make the seeker code use gossmap_manage. 2024-02-04 09:24:44 +10:30
seeker.h gossipd: have seeker quert interfaces take an id, not a struct peer. 2024-02-04 09:24:44 +10:30
sigcheck.c gossipd: take signature checks out of routing.c 2024-02-04 09:24:44 +10:30
sigcheck.h gossipd: take signature checks out of routing.c 2024-02-04 09:24:44 +10:30
txout_failures.c gossipd: take txout failure cache out of routing.c 2024-02-04 09:24:44 +10:30
txout_failures.h gossipd: take txout failure cache out of routing.c 2024-02-04 09:24:44 +10:30