mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 02:27:51 +01:00
9de880dce7
Moving the common functionality out of p2p_announce, sharing it between legacy and subdaemon architecture.
16 lines
494 B
C
16 lines
494 B
C
#ifndef LIGHTNING_DAEMON_P2P_ANNOUNCE_H
|
|
#define LIGHTNING_DAEMON_P2P_ANNOUNCE_H
|
|
#include "config.h"
|
|
#include "daemon/broadcast.h"
|
|
#include "daemon/lightningd.h"
|
|
#include "daemon/routing.h"
|
|
#include "lightningd.h"
|
|
#include "wire/gen_peer_wire.h"
|
|
|
|
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 */
|