2016-12-21 17:15:35 +01:00
|
|
|
#ifndef LIGHTNING_DAEMON_P2P_ANNOUNCE_H
|
|
|
|
#define LIGHTNING_DAEMON_P2P_ANNOUNCE_H
|
|
|
|
#include "config.h"
|
2017-01-26 22:47:52 +01:00
|
|
|
#include "daemon/broadcast.h"
|
2017-01-22 16:16:51 +01:00
|
|
|
#include "daemon/lightningd.h"
|
|
|
|
#include "daemon/routing.h"
|
2016-12-21 17:15:35 +01:00
|
|
|
#include "lightningd.h"
|
2017-01-04 04:39:20 +01:00
|
|
|
#include "wire/gen_peer_wire.h"
|
2016-12-21 17:15:35 +01:00
|
|
|
|
|
|
|
void setup_p2p_announce(struct lightningd_state *dstate);
|
|
|
|
|
|
|
|
/* Used to announce the existence of a channel and the endpoints */
|
|
|
|
void announce_channel(struct lightningd_state *dstate, struct peer *peer);
|
|
|
|
|
|
|
|
#endif /* LIGHTNING_DAEMON_P2P_ANNOUNCE_H */
|