2017-01-10 15:38:33 +10:30
|
|
|
#ifndef LIGHTNING_LIGHTNINGD_GOSSIP_CONTROL_H
|
|
|
|
|
#define LIGHTNING_LIGHTNINGD_GOSSIP_CONTROL_H
|
|
|
|
|
#include "config.h"
|
2018-03-28 12:03:40 +02:00
|
|
|
#include <bitcoin/short_channel_id.h>
|
2017-01-10 15:38:33 +10:30
|
|
|
|
2022-01-25 06:33:52 +10:30
|
|
|
struct channel;
|
2017-01-10 15:38:33 +10:30
|
|
|
struct lightningd;
|
|
|
|
|
|
2022-01-29 14:03:05 +10:30
|
|
|
void gossip_init(struct lightningd *ld, int connectd_fd);
|
2018-03-28 12:03:40 +02:00
|
|
|
|
2022-09-14 13:20:32 +09:30
|
|
|
void gossipd_notify_spends(struct lightningd *ld,
|
|
|
|
|
u32 blockheight,
|
|
|
|
|
const struct short_channel_id *scids);
|
2018-03-28 12:03:40 +02:00
|
|
|
|
2025-05-15 15:17:49 +09:30
|
|
|
void gossip_notify_new_block(struct lightningd *ld);
|
2019-09-22 11:36:43 +09:30
|
|
|
|
2017-08-29 01:36:01 +09:30
|
|
|
#endif /* LIGHTNING_LIGHTNINGD_GOSSIP_CONTROL_H */
|