mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-18 05:14:22 +01:00
We use the same system as for gossip: we trickle out replies when we're otherwise idle. As we trickle out replies to query_short_channel_ids, we remember the pubkeys of nodes we mention. At the end, we sort and uniquify, and then send any node_announcements we have for those. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>