mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-12-27 09:04:40 +01:00
9bddfc2048
Gossipd didn't actually suppress all gossip, resulting in a flake! Doing it in connectd now makes much more sense. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
27 lines
721 B
C
27 lines
721 B
C
#ifndef LIGHTNING_GOSSIPD_SEEKER_H
|
|
#define LIGHTNING_GOSSIPD_SEEKER_H
|
|
#include "config.h"
|
|
|
|
struct daemon;
|
|
struct peer;
|
|
struct short_channel_id;
|
|
|
|
struct seeker *new_seeker(struct daemon *daemon);
|
|
|
|
void query_unknown_channel(struct daemon *daemon,
|
|
struct peer *peer,
|
|
const struct short_channel_id *id);
|
|
|
|
void query_unknown_node(struct seeker *seeker, struct peer *peer);
|
|
|
|
void seeker_setup_peer_gossip(struct seeker *seeker, struct peer *peer);
|
|
|
|
bool remove_unknown_scid(struct seeker *seeker,
|
|
const struct short_channel_id *scid,
|
|
bool found);
|
|
bool add_unknown_scid(struct seeker *seeker,
|
|
const struct short_channel_id *scid,
|
|
struct peer *peer);
|
|
|
|
#endif /* LIGHTNING_GOSSIPD_SEEKER_H */
|