mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-25 10:04:24 +01:00
This simplifies things (we'll get node_announcement if they ever rebroadcast), since we clearly have an issue with node_announcement for zombie nodes. Changes: 1. Remove now-unused gossip_store_mark_nannounce_zombie and resurrect_nannouncements. 2. Don't consider zombie channels to count when deciding whether to move node_announcement (node_announcement must be preceded by at least one broadcastable channel_announcement). 3. Treat incoming node_announcement where we have all-zombie channels the same as if we had no channels. 4. Remove node_announcement whenever we have no announcable channels (not just zombies). Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>