1 #ifndef LIGHTNING_GOSSIPD_SEEKER_H
2 #define LIGHTNING_GOSSIPD_SEEKER_H
3 #include "config.h"
4 
5 struct daemon;
6 struct peer;
7 struct short_channel_id;
8 
9 struct seeker *new_seeker(struct daemon *daemon);
10 
11 void query_unknown_channel(struct daemon *daemon,
12 			   struct peer *peer,
13 			   const struct short_channel_id *id);
14 
15 void query_unknown_node(struct seeker *seeker, struct peer *peer);
16 
17 void seeker_setup_peer_gossip(struct seeker *seeker, struct peer *peer);
18 
19 bool remove_unknown_scid(struct seeker *seeker,
20 			 const struct short_channel_id *scid,
21 			 bool found);
22 bool add_unknown_scid(struct seeker *seeker,
23 		      const struct short_channel_id *scid,
24 		      struct peer *peer);
25 
26 /* A testing hack */
27 extern bool dev_suppress_gossip;
28 
29 #endif /* LIGHTNING_GOSSIPD_SEEKER_H */
30