mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
97ccf05117
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>
20 lines
550 B
C
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 */
|