1 #ifndef LIGHTNING_COMMON_PRIVATE_CHANNEL_ANNOUNCEMENT_H
2 #define LIGHTNING_COMMON_PRIVATE_CHANNEL_ANNOUNCEMENT_H
3 #include "config.h"
4 #include <ccan/short_types/short_types.h>
5 #include <ccan/tal/tal.h>
6 
7 struct short_channel_id;
8 struct node_id;
9 
10 /* Helper to create a fake channel announcement for local channels. */
11 const u8 *private_channel_announcement(const tal_t *ctx,
12 				       const struct short_channel_id *scid,
13 				       const struct node_id *local_node_id,
14 				       const struct node_id *remote_node_id,
15 				       const u8 *features);
16 
17 #endif /* LIGHTNING_COMMON_PRIVATE_CHANNEL_ANNOUNCEMENT_H */
18