mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-20 02:27:51 +01:00
f4568e5c1c
Added channel announcement serialization and parsing, as well as the entrypoints for the IRC peer discovery. Announcements are signed by the sending endpoint and signatures are verified before adding the channels to the local view of the topology. We do not yet verify the existence of the anchor transaction.
10 lines
268 B
C
10 lines
268 B
C
#ifndef LIGHTNING_DAEMON_IRC_ANNOUNCE_H
|
|
#define LIGHTNING_DAEMON_IRC_ANNOUNCE_H
|
|
#include "config.h"
|
|
#include "irc.h"
|
|
|
|
// Main entrypoint for the lightning daemon
|
|
void setup_irc_connection(struct lightningd_state *dstate);
|
|
|
|
#endif /* LIGHTNING_DAEMON_IRC_ANNOUNCE_H */
|