core-lightning/lightningd/gossip_control.h
Rusty Russell 97ccf05117 lightningd: ignore gossip messages from channeld, switch to our own.
This commit is a bit messy, but it tries to do the minimal switchover.

Some tests change, so those are included here. 

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2024-01-31 14:47:33 +10:30

20 lines
550 B
C

#ifndef LIGHTNING_LIGHTNINGD_GOSSIP_CONTROL_H
#define LIGHTNING_LIGHTNINGD_GOSSIP_CONTROL_H
#include "config.h"
#include <bitcoin/short_channel_id.h>
#include <ccan/short_types/short_types.h>
#include <stdbool.h>
struct channel;
struct lightningd;
void gossip_init(struct lightningd *ld, int connectd_fd);
void gossipd_notify_spends(struct lightningd *ld,
u32 blockheight,
const struct short_channel_id *scids);
void gossip_notify_new_block(struct lightningd *ld, u32 blockheight);
#endif /* LIGHTNING_LIGHTNINGD_GOSSIP_CONTROL_H */